Fixed output_dir not liking the move to JSONResponse

This commit is contained in:
Marc-Andre Ferland
2022-10-15 04:47:12 -04:00
parent 8fdb1e7ec9
commit 7625e591fe
2 changed files with 2 additions and 2 deletions

View File

@ -1497,7 +1497,7 @@ async function getDiskPath() {
let res = await fetch('/get/output_dir')
if (res.status === 200) {
res = await res.json()
res = res[0]
res = res.output_dir
document.querySelector('#diskPath').value = res
}