fix text
This commit is contained in:
parent
271acaafe0
commit
8279ec5f88
@ -33,8 +33,9 @@ function showServerError(fname, status, text) {
|
|||||||
let stagingPath = "";
|
let stagingPath = "";
|
||||||
async function setStagingPath() {
|
async function setStagingPath() {
|
||||||
const response = await fetch("imgsort.php?action=getStagingPath");
|
const response = await fetch("imgsort.php?action=getStagingPath");
|
||||||
|
text = await response.text();
|
||||||
if (response.ok) {
|
if (response.ok) {
|
||||||
stagingPath = await response.text();
|
stagingPath = text;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
showServerError("setStagingPath", response.status, text);
|
showServerError("setStagingPath", response.status, text);
|
||||||
|
Loading…
Reference in New Issue
Block a user