mirror of
https://github.com/krahets/hello-algo.git
synced 2026-12-01 08:45:02 +08:00
deploy
This commit is contained in:
20
vercel.json
20
vercel.json
@@ -2,7 +2,7 @@
|
||||
"trailingSlash": true,
|
||||
"headers": [
|
||||
{
|
||||
"source": "(/en|/zh-hant|/ja|/ru)?/assets/javascripts/bundle.(.+).min.js",
|
||||
"source": "(/en|/zh-hant|/ja|/ru|/ko)?/assets/javascripts/bundle.(.+).min.js",
|
||||
"headers": [
|
||||
{
|
||||
"key": "Cache-Control",
|
||||
@@ -11,7 +11,7 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"source": "(/en|/zh-hant|/ja|/ru)?/assets/javascripts/workers/search.(.+).min.js",
|
||||
"source": "(/en|/zh-hant|/ja|/ru|/ko)?/assets/javascripts/workers/search.(.+).min.js",
|
||||
"headers": [
|
||||
{
|
||||
"key": "Cache-Control",
|
||||
@@ -20,7 +20,7 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"source": "(/en|/zh-hant|/ja|/ru)?/assets/stylesheets/(.+).css",
|
||||
"source": "(/en|/zh-hant|/ja|/ru|/ko)?/assets/stylesheets/(.+).css",
|
||||
"headers": [
|
||||
{
|
||||
"key": "Cache-Control",
|
||||
@@ -29,7 +29,7 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"source": "(/en|/zh-hant|/ja|/ru)?/javascripts/mathjax.js",
|
||||
"source": "(/en|/zh-hant|/ja|/ru|/ko)?/javascripts/mathjax.js",
|
||||
"headers": [
|
||||
{
|
||||
"key": "Cache-Control",
|
||||
@@ -38,7 +38,7 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"source": "(/en|/zh-hant|/ja|/ru)?/assets/images/(.+).(svg|png)",
|
||||
"source": "(/en|/zh-hant|/ja|/ru|/ko)?/assets/images/(.+).(svg|png)",
|
||||
"headers": [
|
||||
{
|
||||
"key": "Cache-Control",
|
||||
@@ -47,7 +47,7 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"source": "(/en|/zh-hant|/ja|/ru)?/stylesheets/extra.css",
|
||||
"source": "(/en|/zh-hant|/ja|/ru|/ko)?/stylesheets/extra.css",
|
||||
"headers": [
|
||||
{
|
||||
"key": "Cache-Control",
|
||||
@@ -56,7 +56,7 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"source": "(/en|/zh-hant|/ja|/ru)?/search.json",
|
||||
"source": "(/en|/zh-hant|/ja|/ru|/ko)?/search.json",
|
||||
"headers": [
|
||||
{
|
||||
"key": "Cache-Control",
|
||||
@@ -65,7 +65,7 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"source": "(/en|/zh-hant|/ja|/ru)?/chapter_(.+)/(.+)\\.assets/(.+)\\.(png|jpg|svg|gif|webp|ico)",
|
||||
"source": "(/en|/zh-hant|/ja|/ru|/ko)?/chapter_(.+)/(.+)\\.assets/(.+)\\.(png|jpg|svg|gif|webp|ico)",
|
||||
"headers": [
|
||||
{
|
||||
"key": "Cache-Control",
|
||||
@@ -74,7 +74,7 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"source": "(/en|/zh-hant|/ja|/ru)?/(.+)\\.assets/(.+)\\.(png|jpg|svg|gif|webp|ico)",
|
||||
"source": "(/en|/zh-hant|/ja|/ru|/ko)?/(.+)\\.assets/(.+)\\.(png|jpg|svg|gif|webp|ico)",
|
||||
"headers": [
|
||||
{
|
||||
"key": "Cache-Control",
|
||||
@@ -83,7 +83,7 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"source": "(/en|/zh-hant|/ja|/ru)?/assets/(hero|covers|avatar)/(.+)\\.(png|jpg|svg|gif|webp|ico)",
|
||||
"source": "(/en|/zh-hant|/ja|/ru|/ko)?/assets/(hero|covers|avatar)/(.+)\\.(png|jpg|svg|gif|webp|ico)",
|
||||
"headers": [
|
||||
{
|
||||
"key": "Cache-Control",
|
||||
|
||||
Reference in New Issue
Block a user