Support for providing site_url

This commit is contained in:
SinTan1729 committed 2023-04-03 13:50:23 -05:00
1 parent a1f73c8a9d
commit 3c699d8b02
3 files changed
+13 -1

No files matched your search

+1 -1
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") {