Skip to content

Commit

Permalink
perf: add vercel.json to do compression for scene.bin
Browse files Browse the repository at this point in the history
  • Loading branch information
xxrjun committed May 23, 2023
1 parent db8c928 commit 212ffba
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions vercel.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"headers": [
{
"source": "./public/desktop_pc/scene.bin",
"headers": [
{
"key": "Content-Encoding",
"value": "gzip"
}
]
}
]
}

1 comment on commit 212ffba

@vercel
Copy link

@vercel vercel bot commented on 212ffba May 23, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

xxrjun-github-io – ./

xxrjun-github-io-git-main-xxrjun.vercel.app
xxrjun.vercel.app
xxrjun-github-io-xxrjun.vercel.app

Please sign in to comment.