fix: 修复CSP白屏并优化LDAP配置

This commit is contained in:
Logan.Li committed 2026-07-25 22:28:16 +08:00
1 parent a14d9e62e6
commit c7f59f2cbf
12 files changed
+930 -70

No files matched your search

+10 -1
View File
@@ -1,8 +1,17 @@
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import VueI18nPlugin from '@intlify/unplugin-vue-i18n/vite'
import { fileURLToPath, URL } from 'node:url'
export default defineConfig({
plugins: [vue()],
plugins: [
vue(),
VueI18nPlugin({
include: [fileURLToPath(new URL('./src/locales/**', import.meta.url))],
runtimeOnly: true,
jitCompilation: false,
}),
],
server: {
port: 5173,
proxy: { '/api': 'http://localhost:8080' }