More react

- consolidated lang items
- proxy host paths work
This commit is contained in:
Jamie Curnow
2025-10-16 18:59:19 +10:00
parent 7af01d0fc7
commit f2b5b19a83
56 changed files with 946 additions and 928 deletions

View File

@@ -97,6 +97,14 @@ export interface Certificate {
redirectionHosts?: RedirectionHost[];
}
export interface ProxyLocation {
path: string;
advancedConfig: string;
forwardScheme: string;
forwardHost: string;
forwardPort: number;
}
export interface ProxyHost {
id: number;
createdOn: string;
@@ -116,7 +124,7 @@ export interface ProxyHost {
allowWebsocketUpgrade: boolean;
http2Support: boolean;
enabled: boolean;
locations?: string[]; // todo: string or object?
locations?: ProxyLocation[];
hstsEnabled: boolean;
hstsSubdomains: boolean;
// Expansions: