adding request header to conditionaly send zip file
This commit is contained in:
@@ -69,6 +69,9 @@ module.exports = {
|
||||
await fetch("/api/config/restore", {
|
||||
method: "PUT",
|
||||
body: formData,
|
||||
headers:{
|
||||
'Type':'zip'
|
||||
}
|
||||
});
|
||||
console.log('done');
|
||||
// SvelteComponents.showDialog("Message", {
|
||||
|
||||
Reference in New Issue
Block a user