调整
This commit is contained in:
1 parent
787544eec1
commit
4ff9146910
81 files changed
+18417
-545
No files matched your search
@@ -11,6 +11,11 @@ export default defineConfig({
|
||||
output: 'server',
|
||||
adapter: node({ mode: 'standalone' }),
|
||||
integrations: [react()],
|
||||
security: {
|
||||
// 反代后 request.url 的 origin 可能是 localhost,内置校验会误伤正常表单提交。
|
||||
// 所有写接口在 src/lib/auth.ts 的 guardWrite / sameOrigin 中自行做同源校验。
|
||||
checkOrigin: false,
|
||||
},
|
||||
vite: {
|
||||
plugins: [tailwindcss()],
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user