summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorJulian Hurst <julian.hurst@digdash.com>2025-04-02 17:54:45 +0200
committerJulian Hurst <julian.hurst@digdash.com>2025-04-02 17:54:45 +0200
commitad130f94bdca7edcfc5a9951eb5da1e4ce75c385 (patch)
treead25af7de59ffee82d5e5f5873001278cc609437 /templates
parent6936cf7c5d19737aaa87e21334f0a395f2b3d60d (diff)
downloadbox-ad130f94bdca7edcfc5a9951eb5da1e4ce75c385.tar.gz
ProxyPrefix: Fix GET link after upload
Diffstat (limited to 'templates')
-rw-r--r--templates/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/index.html b/templates/index.html
index 75f504c..12c99f4 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -29,7 +29,7 @@
document.getElementById("progress").innerHTML = "Error: unknown";
}
} else {
- document.getElementById("progress").innerHTML = "Done: <a href=\"/" + resourceId + "\">" + resourceId + "</a>";
+ document.getElementById("progress").innerHTML = "Done: <a href=\"{{.ProxyPrefix}}/" + resourceId + "\">" + resourceId + "</a>";
}
}
if (xhr.readyState === xhr.HEADERS_RECEIVED) {