Added base tag for subpath support

This commit is contained in:
2022-01-31 09:34:43 +01:00
parent 77e7c15e0e
commit befad9a1c4
3 changed files with 6 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
const prefix = ""
const prefix = document.getElementsByTagName("base")[0].href;
async function unknownResponse(resp: Response): Promise<Error> {