client/web: pass URL prefix to frontend

This allows wouter to route URLs properly when running in CGI mode.

Updates tailscale/corp#14335

Signed-off-by: Will Norris <will@tailscale.com>
This commit is contained in:
Will Norris
2023-11-07 11:11:33 -08:00
committed by Will Norris
parent 0753ad6cf8
commit 623f669239
3 changed files with 30 additions and 25 deletions

View File

@ -15,6 +15,7 @@ export type NodeData = {
IsUnraid: boolean
UnraidToken: string
IPNVersion: string
URLPrefix: string
DebugMode: "" | "login" | "full" // empty when not running in any debug mode
}