Fix UI and backend paths with subpath (#1799)

I'm not sure if this is an ideal fix for this, but it seems to work for
me. If you have another idea just let me know.

Closes #1798 
Closes #1773
This commit is contained in:
qwerty287
2023-08-07 16:05:18 +02:00
committed by GitHub
parent 10b1cfcd3b
commit 67b7de5cc2
30 changed files with 162 additions and 101 deletions

View File

@@ -7,12 +7,12 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="theme-color" content="#65a30d" />
<title>Woodpecker</title>
<link rel="stylesheet" href="/assets/custom.css" />
<script type="" src="/web-config.js"></script>
<script type="" src="/BASE_PATH/web-config.js"></script>
<link rel="stylesheet" href="/BASE_PATH/assets/custom.css" />
</head>
<body>
<div id="app"></div>
<script type="module" src="/src/main.ts"></script>
<script type="application/javascript" src="/assets/custom.js"></script>
<script type="application/javascript" src="/BASE_PATH/assets/custom.js"></script>
</body>
</html>