Support for providing site_url

This commit is contained in:
SinTan1729
2023-04-03 13:50:23 -05:00
parent a1f73c8a9d
commit 3c699d8b02
3 changed files with 13 additions and 1 deletions

View File

@@ -1,4 +1,4 @@
const getSiteUrl = async () => await fetch("/api/site")
const getSiteUrl = async () => await fetch("/api/siteurl")
.then(res => res.text())
.then(text => {
if (text == "unset") {