完善证书管理与初始化流程

This commit is contained in:
xuans committed 2026-08-27 22:16:10 +08:00
1 parent 07636abe44
commit c74372284a
84 files changed
+10151 -3502

No files matched your search

+14
View File
@@ -10,6 +10,20 @@ export default defineConfig({
proxy: {
'/api': process.env.SCERT_API_TARGET || 'http://127.0.0.1:8090',
'/healthz': process.env.SCERT_API_TARGET || 'http://127.0.0.1:8090',
'/reset': {
target: process.env.SCERT_API_TARGET || 'http://127.0.0.1:8090',
changeOrigin: false,
bypass(request) {
if (
request.method === 'GET' &&
request.headers.accept &&
request.headers.accept.includes('text/html')
) {
return '/index.html';
}
return undefined;
},
},
},
},
})