Skip to content

Commit

Permalink
add vercel.json
Browse files Browse the repository at this point in the history
  • Loading branch information
AmyangXYZ committed Sep 27, 2024
1 parent c054e0b commit e968ab9
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
17 changes: 17 additions & 0 deletions vercel.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"headers": [
{
"source": "/(.*)",
"headers": [
{
"key": "Cross-Origin-Opener-Policy",
"value": "same-origin"
},
{
"key": "Cross-Origin-Embedder-Policy",
"value": "require-corp"
}
]
}
]
}
2 changes: 1 addition & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import react from "@vitejs/plugin-react"
export default defineConfig({
plugins: [react()],
optimizeDeps: {
exclude: ["babylon-mmd", "babylon-mmd/esm/Loader/pmxLoader"],
exclude: ["babylon-mmd"],
},
server: {
headers: {
Expand Down

0 comments on commit e968ab9

Please sign in to comment.