Skip to content

Commit d153f95

Browse files
committed
fix: replace hard-coded localhost URL in JavaScript
1 parent b816785 commit d153f95

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

frontend/static/js/disclose.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ function substituteTextRecursive(html, key, value) {
9898
}
9999

100100
async function queryRedacted(token) {
101-
const URL = "https://localhost/api/disclose";
101+
const URL = "/api/disclose";
102102

103103
return await fetch(`${URL}`, {
104104
method: "GET",

0 commit comments

Comments
 (0)