Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…into dev
  • Loading branch information
Divaksh committed Oct 19, 2020
2 parents cdaa68e + fce23ae commit 1fb8117
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 4 deletions.
File renamed without changes.
2 changes: 0 additions & 2 deletions packages/forgotten-developer/src/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import "./image-service.ih";

import Theme from "./components";
import prismProcessor from "./processors/prism";

Expand Down
33 changes: 31 additions & 2 deletions vercel.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,38 @@

{
"version": 2,
"builds": [
{
"src": "package.json",
"use": "@frontity/now"
"src": "build/static/**/*",
"use": "@now/static"
},
{
"src": "favicon.ico",
"use": "@now/static"
},
{
"src": "image-service.ih.js",
"use": "@now/static"
},
{
"src": "build/server.js",
"use": "@now/node"
}
],
"routes": [
{
"src": "/static/(.*)",
"headers": {
"cache-control": "max-age=31536000,s-maxage=31536000,immutable"
},
"dest": "/build/static/$1"
},
{ "src": "/favicon.ico", "dest": "/favicon.ico" },
{ "src": "/image-service.ih.js", "dest": "/image-service.ih.js" },
{
"src": "/(.*)",
"headers": { "cache-control": "s-maxage=1,stale-while-revalidate" },
"dest": "/build/server.js"
}
]
}

0 comments on commit 1fb8117

Please sign in to comment.