Skip to content

Instantly share code, notes, and snippets.

@brunosabot
Last active May 8, 2020 02:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save brunosabot/ac51677500a9f4b019245c9e9c21e6f1 to your computer and use it in GitHub Desktop.
Save brunosabot/ac51677500a9f4b019245c9e9c21e6f1 to your computer and use it in GitHub Desktop.
{
"version": 2,
"name": "github-actions-zeit-now",
"builds": [{ "src": "package.json", "use": "@now/static-build" }],
"regions": ["bru"],
"routes": [
{ "src": "^/static/(.*)", "dest": "/static/$1" },
{ "src": "^/logo.png", "dest": "/logo.png" },
{ "src": "^/asset-manifest.json", "dest": "/asset-manifest.json" },
{ "src": "^/manifest.json", "dest": "/manifest.json" },
{
"src": "^/service-worker.js",
"headers": { "cache-control": "s-maxage=0" },
"dest": "/service-worker.js"
},
{ "src": "^/precache-manifest.(.*)", "dest": "/precache-manifest.$1" },
{ "src": "^/(.*)", "dest": "/index.html" }
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment