fix: 修复CSP白屏并优化LDAP配置
This commit is contained in:
1 parent
a14d9e62e6
commit
c7f59f2cbf
12 files changed
+930
-70
No files matched your search
+10
-1
@@ -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' }
|
||||
|
||||
Reference in new issue
Block a user