Skip to content

Commit

Permalink
Merge pull request #3 from dan-kwiat/master
Browse files Browse the repository at this point in the history
Serverless Deployment
  • Loading branch information
CharityBase authored Feb 13, 2019
2 parents 9b11a8d + ba1cc28 commit a43fb71
Show file tree
Hide file tree
Showing 66 changed files with 14,157 additions and 12,997 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.env

git-ignore

# See https://help.github.com/ignore-files/ for more about ignoring files.
Expand Down
17 changes: 17 additions & 0 deletions now.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"version": 2,
"name": "charity-base-web",
"env": {},
"builds": [
{ "src": "package.json", "use": "@now/static-build" }
],
"routes": [
{ "src": "^/static/(.*)", "dest": "/static/$1"},
{ "src": "^/favicon.ico", "dest": "/favicon.ico"},
{ "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"}
]
}
Loading

0 comments on commit a43fb71

Please sign in to comment.