diff --git a/docs/guides/frontdoor.mdx b/docs/guides/frontdoor.mdx index 307cf015..5e19aa43 100644 --- a/docs/guides/frontdoor.mdx +++ b/docs/guides/frontdoor.mdx @@ -32,6 +32,8 @@ zrok frontends are the parts of zrok that proxy incoming public web traffic to z Choose between installing the Linux package or running zrok with Docker (Linux, macOS, or Windows). +{/* The OsTabs component must be aligned with these specific values: `Linux`, `Docker` which are auto-selected based on +the detected OS of the visitor's browser */} { // Based on the OS or any other client-side condition, set the default value - const tabs = ['Mac OS', 'Windows', 'Linux'] - if (tabs.includes(osName)) { - setDefaultValue(osName); + const dockerTabs = ['Mac OS', 'Windows'] + if (dockerTabs.includes(osName)) { + setDefaultValue('Docker'); } else { setDefaultValue('Linux'); }