Skip to content

Commit 307ed25

Browse files
committed
Adding newest blocks to routing.
1 parent a2518e6 commit 307ed25

File tree

2 files changed

+14
-4
lines changed

2 files changed

+14
-4
lines changed

now.json

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
"version": 2,
44
"builds": [
55
{ "src": "blocks/calculate-square-root/*.js", "use": "@now/node" },
6+
{ "src": "blocks/parse-rss/*.js", "use": "@now/node" },
7+
{ "src": "blocks/convert-markdown-to-html/*.js", "use": "@now/node" },
8+
{ "src": "blocks/pkg-news-api/*.js", "use": "@now/node" },
9+
{ "src": "blocks/upload-url-to-s3/*.js", "use": "@now/node" },
610
{ "src": "blocks/inspect-hostname-dns/*.js", "use": "@now/node" }
711
],
812
"routes": [
@@ -11,5 +15,11 @@
1115
"dest": "blocks/$1"
1216
}
1317
],
14-
"regions": ["gru1", "hnd1", "iad1", "sfo1"]
18+
"regions": ["gru1", "hnd1", "iad1", "sfo1"],
19+
"env": {
20+
"AWS_S3_ACCESS_KEY": "@aws_s3_access_key",
21+
"AWS_S3_SECRET_KEY": "@aws_s3_secret_key",
22+
"AWS_S3_BUCKET": "@aws_s3_bucket",
23+
"API_KEY_NEWSAPI": "api_key_newsapi"
24+
}
1525
}

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{
22
"name": "block-demos",
33
"version": "1.0.0",
4-
"description": "",
5-
"main": "index.js",
4+
"description": "A fine collection of hand-crafted webpipes.",
65
"scripts": {
76
"test": "echo \"Error: no test specified\" && exit 1"
87
},
98
"author": "Matthew Hudson",
10-
"license": "ISC",
9+
"license": "MIT",
1110
"dependencies": {
11+
"@google-cloud/vision": "^1.1.3",
1212
"node-webpipe": "0.0.3"
1313
}
1414
}

0 commit comments

Comments
 (0)