Skip to content

Commit

Permalink
feat: add vercel.json for vercel
Browse files Browse the repository at this point in the history
  • Loading branch information
okikio authored Oct 23, 2021
1 parent ba6b852 commit 79705b2
Show file tree
Hide file tree
Showing 5 changed files with 200 additions and 42 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"@commitlint/cli": "^13.2.1",
"@commitlint/config-conventional": "^13.2.0",
"@csstools/postcss-sass": "^4.0.0",
"@types/node": "^16.11.2",
"@types/node": "^16.11.4",
"autoprefixer": "^10.3.7",
"browser-sync": "^2.27.5",
"commitizen": "^4.2.4",
Expand Down Expand Up @@ -96,7 +96,7 @@
"rehype-slug": "^5.0.0",
"rollup": "^2.58.0",
"rollup-plugin-terser": "^7.0.2",
"sass": "^1.43.2",
"sass": "^1.43.3",
"standard-version": "^9.3.2",
"tailwindcss": "^2.2.17",
"workbox-build": "^6.3.0"
Expand Down
72 changes: 36 additions & 36 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 1 addition & 3 deletions src/assets/_headers
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Referrer-Policy: strict-origin-when-cross-origin
Strict-Transport-Security: max-age=63072000; includeSubDomains; preload
Cache-Control: max-age=360, stale-while-revalidate=480, public
Accept-CH: DPR, Viewport-Width, Widthyo
Accept-CH: DPR, Viewport-Width, Width
X-UA-Compatible: IE=edge
Content-Security-Policy: default-src 'self'; font-src 'self' https://fonts.gstatic.com; style-src 'self' 'unsafe-inline'; img-src 'self' https://res.cloudinary.com https://api.producthunt.com data:; script-src 'self' https://cdn.polyfill.io 'unsafe-eval'; connect-src 'self' https:; block-all-mixed-content; upgrade-insecure-requests; base-uri 'self'; object-src 'none'; worker-src 'self'; manifest-src 'self'; media-src 'self' https://res.cloudinary.com; form-action 'self'; frame-ancestors 'self' https:;
Permissions-Policy: geolocation=(), microphone=(), usb=(), sync-xhr=(self), camera=(), interest-cohort=()
Expand All @@ -19,11 +19,9 @@
Link: </js/critical.min.js>; rel=modulepreload

/
Link: </js/theme.min.js>; rel=modulepreload
Link: <https://fonts.gstatic.com/s/manrope/v4/xn7gYHE41ni1AdIRggexSg.woff2>; rel=preload; as=font; type=font/woff2; crossorigin=anonymous
Link: <https://fonts.gstatic.com/s/materialiconsround/v62/LDItaoyNOAY6Uewc665JcIzCKsKc_M9flwmP.woff2>; rel=preload; as=font; type=font/woff2; crossorigin=anonymous
Link: </js/codicon.ttf>; rel=preload; as=font; type=font/ttf; crossorigin
Link: </js/index.min.js>; rel=modulepreload
Link: </js/esbuild.wasm>; rel=prefetch
Link: </js/esbuild.worker.js>; rel=prefetch
Link: </js/typescript.worker.js>; rel=prefetch
Expand Down
2 changes: 1 addition & 1 deletion src/pug/layouts/layout.pug
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ html.dark(lang="en")
meta(name='viewport' content='width=device-width, initial-scale=1')
meta(name='viewport' content='initial-scale=1, viewport-fit=cover')


link(rel='apple-touch-icon', sizes='180x180', href='./favicon/apple-touch-icon.png')
link(rel='icon', type='image/png', sizes='32x32', href='./favicon/favicon-32x32.png')
link(rel='icon', type='image/png', sizes='16x16', href='./favicon/favicon-16x16.png')
Expand Down Expand Up @@ -58,6 +57,7 @@ html.dark(lang="en")
description: "bundle is a quick and easy way to bundle your js projects, minify and see their gzip size, it's similar to bundlephobia but does all the work locally on your computer and can treeshake and bundle multiple packages (both commonjs and esm) together.",
keywords: "bundle, rollup, esbuild, gzip, minify, es2020, monaco-editor, typescript"
};
block pageInfo
- let page = {};

Expand Down
Loading

1 comment on commit 79705b2

@vercel
Copy link

@vercel vercel bot commented on 79705b2 Oct 23, 2021

Choose a reason for hiding this comment

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

Deployment failed with the following error:

Header at index 1 has invalid `source` pattern "/*.html".

Learn More: https://vercel.link/invalid-route-source-pattern

Please sign in to comment.