mirror of
https://github.com/UtilitechAS/amsreader-firmware.git
synced 2026-05-15 03:11:33 +00:00
Fixed configfile download when using context path
This commit is contained in:
2
lib/SvelteUi/app/dist/index.js
vendored
2
lib/SvelteUi/app/dist/index.js
vendored
File diff suppressed because one or more lines are too long
@@ -99,7 +99,7 @@
|
||||
const formData = new FormData();
|
||||
formData.append('file', configFiles[0]);
|
||||
|
||||
const upload = fetch('/configfile', {
|
||||
const upload = fetch('configfile', {
|
||||
method: 'POST',
|
||||
body: formData
|
||||
}).then((response) => response.json()).then((res) => {
|
||||
|
||||
Reference in New Issue
Block a user