* Switched web UI to hash-based routing * Added hash to missed goto function call * Removed outdated SPA handling code * Fixed broken sidebar home link
This commit is contained in:
parent
5d0a40f390
commit
e0539eb6ae
14 changed files with 22 additions and 57 deletions
|
|
@ -22,7 +22,7 @@ export async function validateApiKey(fetch: typeof globalThis.fetch): Promise<vo
|
|||
headers.Authorization = `Bearer ${apiKey}`;
|
||||
}
|
||||
|
||||
const response = await fetch('/props', { headers });
|
||||
const response = await fetch(`./props`, { headers });
|
||||
|
||||
if (!response.ok) {
|
||||
if (response.status === 401 || response.status === 403) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue