Last active
January 15, 2019 06:59
-
-
Save roelvan/1190b1b230eefb7b3e51cf2aa8cdd3f6 to your computer and use it in GitHub Desktop.
If you want to port an existing @zeithq node app from v1 to v2, you can use the following now.json. (credits: https://twitter.com/styfle/status/1077111544905850880)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "your-app", | |
"alias": "your-app.now.sh", | |
"Version": 2, | |
"builds": [ | |
{ "src": "index.js", "user": "@now/node-server", "config": { "maxLambdaSize": "50mb" } } | |
], | |
"routes": [{ "src": "/(.*)", "dest": "/index.js" }] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey,
user
should beuse
.