Skip to content

Commit df5fdcc

Browse files
committed
Adding missing webpipe server dependency.
1 parent 768d75e commit df5fdcc

File tree

3 files changed

+19
-4
lines changed

3 files changed

+19
-4
lines changed

blocks/upload-url-to-s3/now.json

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,18 @@
11
{
2+
"name": "upload-url-to-s3",
3+
"version": 2,
4+
"builds": [{ "src": "index.js", "use": "@now/node" }],
5+
"routes": [
6+
{
7+
"src": "upload/(.*)",
8+
"dest": "/index.js"
9+
}
10+
],
211
"build": {
312
"env": {
4-
"AWS_S3_ACCESS_KEY": "@AWS_S3_ACCESS_KEY",
5-
"AWS_S3_SECRET_KEY": "@AWS_S3_SECRET_KEY",
6-
"AWS_S3_BUCKET": "@AWS_S3_BUCKET"
13+
"AWS_S3_ACCESS_KEY": "@aws_s3_access_key",
14+
"AWS_S3_SECRET_KEY": "@aws_s3_secret_key",
15+
"AWS_S3_BUCKET": "@aws_s3_bucket"
716
}
817
}
918
}

blocks/upload-url-to-s3/package-lock.json

Lines changed: 6 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

blocks/upload-url-to-s3/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"dependencies": {
44
"aws-sdk": "^2.503.0",
55
"axios": "^0.19.0",
6+
"node-webpipe": "0.0.3",
67
"stream": "0.0.2"
78
}
89
}

0 commit comments

Comments
 (0)