fix: (beta) option "Accept requests only..." was reset at restart
Massimo Melina committed
Jun 21, 2024 at 09:46 UTC
aff728e778e3bdae0e4ab876887bf562c855cb13
1 file changed
+1
-1
src/roots.ts
+1
-1
@@ -13,7 +13,7 @@ export const roots = defineConfig(CFG.roots, {} as { [hostMask: string]: string
13
})
14
const forceAddress = defineConfig(CFG.force_address, false)
15
forceAddress.sub((v, { version }) => { // convert from legacy configs
16
- if (version?.olderThan('0.53.0'))
16
+ if (version?.olderThan('0.53.0-alpha2'))
17
forceAddress.set(getConfig('force_base_url') || getConfig('roots_mandatory') || false)
18
})
19