Skip to content

Commit 270391b

Browse files
Merge pull request #1 from styfle/now-to-vercel
Upgrade from now to vercel
2 parents c705360 + 3fed77d commit 270391b

File tree

5 files changed

+17
-17
lines changed

5 files changed

+17
-17
lines changed

.gitignore

+3-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
node_modules
1+
node_modules
2+
.vercel
3+

README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
# generate-secret
22

3-
A simple helper which will generate secrets.
3+
A simple web app which will generate secrets.
44

55
## Usage
66

7-
- https://generate-secret.now.sh/
8-
- https://generate-secret.now.sh/32
9-
- https://generate-secret.now.sh/48
7+
- https://generate-secret.vercel.app
8+
- https://generate-secret.vercel.app/32
9+
- https://generate-secret.vercel.app/48
1010

1111
Or in the command line:
1212

1313
```bash
14-
curl https://generate-secret.now.sh/48
15-
```
14+
curl https://generate-secret.vercel.app/48
15+
```

now.json

-8
This file was deleted.

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
"description": "",
55
"main": "index.js",
66
"scripts": {
7-
"dev": "now dev",
7+
"develop": "vercel dev",
88
"start": "micro"
99
},
1010
"engines": {
11-
"node": "10.16"
11+
"node": "14.x"
1212
},
1313
"author": "Sandrino Di Mattia",
1414
"license": "MIT",

vercel.json

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"rewrites": [
3+
{ "source": "/", "destination": "/0" },
4+
{ "source": "/(.*)", "destination": "/api/$1" }
5+
]
6+
}

0 commit comments

Comments
 (0)