feat: add option to persist API keys on non-localhost (opt-in security feature)

This commit is contained in:
Xiaohan-Tian
2026-01-17 13:54:15 -08:00
parent 2a0d128d0f
commit e8b79efde7
5 changed files with 54 additions and 12 deletions
+3
View File
@@ -16,4 +16,7 @@ export default defineConfig({
define: {
__APP_VERSION__: JSON.stringify(version),
},
server: {
allowedHosts: ['testlocal.com', '.testlocal.com', 'localhost', '127.0.0.1'],
},
})