Skip to content

Commit

Permalink
Merge pull request #1 from peter-stuhlmann/Deployment
Browse files Browse the repository at this point in the history
Deployment
  • Loading branch information
peter-stuhlmann committed Jul 15, 2019
2 parents 1b2ddc1 + 475b8e4 commit f79a164
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions .nowignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
14 changes: 14 additions & 0 deletions now.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"version": 2,
"name": "color-converter-api",
"builds": [
{ "src": "index.js", "use": "@now/node" }
],
"routes": [{
"src": "/(.*)",
"dest": "/index.js",
"headers": {
"cache-control": "s-maxage=31536000,immutable"
}
}]
}

0 comments on commit f79a164

Please sign in to comment.