mirror of
https://github.com/ZizzyDizzyMC/linx-server.git
synced 2026-01-23 02:14:33 +00:00
Headers are now Linx-.. instead of X-...
This commit is contained in:
parent
ce73598f12
commit
c5250e529e
4 changed files with 12 additions and 15 deletions
|
|
@ -60,7 +60,7 @@ Dropzone.options.dropzone = {
|
|||
deleteAction.addEventListener('click', function(ev) {
|
||||
xhr = new XMLHttpRequest();
|
||||
xhr.open("DELETE", resp.url, true);
|
||||
xhr.setRequestHeader("X-Delete-Key", resp.delete_key);
|
||||
xhr.setRequestHeader("Linx-Delete-Key", resp.delete_key);
|
||||
xhr.onreadystatechange = function(file) {
|
||||
if (xhr.readyState == 4 && xhr.status === 200) {
|
||||
var text = document.createTextNode("Deleted ");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue