diff --git a/docs/guide.md b/docs/guide.md index 0d0c13140..5f55e9926 100644 --- a/docs/guide.md +++ b/docs/guide.md @@ -20,6 +20,7 @@ - [Proxying to a Vue app](#proxying-to-a-vue-app) - [Proxying to an Angular app](#proxying-to-an-angular-app) - [Proxying to a Svelte app](#proxying-to-a-svelte-app) + - [Prefixing `/absproxy/` with a path](#prefixing-absproxyport-with-a-path) diff --git a/src/node/cli.ts b/src/node/cli.ts index 36cb29e75..6320c2025 100644 --- a/src/node/cli.ts +++ b/src/node/cli.ts @@ -118,18 +118,18 @@ interface Option { type OptionType = T extends boolean ? "boolean" : T extends OptionalString - ? typeof OptionalString - : T extends LogLevel - ? typeof LogLevel - : T extends AuthType - ? typeof AuthType - : T extends number - ? "number" - : T extends string - ? "string" - : T extends string[] - ? "string[]" - : "unknown" + ? typeof OptionalString + : T extends LogLevel + ? typeof LogLevel + : T extends AuthType + ? typeof AuthType + : T extends number + ? "number" + : T extends string + ? "string" + : T extends string[] + ? "string[]" + : "unknown" export type Options = { [P in keyof T]: Option> @@ -282,7 +282,7 @@ export const options: Options> = { }, "abs-proxy-base-path": { type: "string", - description: "The base path to prefix all absproxy requests", + description: "The base path to prefix to all absproxy requests", }, }