Skip to content

Commit 64643b4

Browse files
committed
removed debug logging, fixed ava unit test
1 parent b30114e commit 64643b4

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/continuous-deployment.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,8 @@ jobs:
8989
runs-on: ubuntu-latest
9090
env:
9191
BUCKET: s3proxy-public
92-
PORT: 8080
92+
PORT: 8080
93+
AWS_REGION: us-east-1
9394
steps:
9495
# Git Checkout
9596
- name: Checkout Code

express-s3proxy.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ if (process.env.NODE_ENV !== 'test') {
7979

8080
// initialize the s3proxy
8181
const credentials = getCredentials()
82-
const proxy = new S3Proxy({ bucket, logger: console, credentials })
82+
const proxy = new S3Proxy({ bucket, credentials })
8383
proxy.init()
8484

8585
proxy.on('error', (err) => {

test/test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const http = require('http')
55
const request = require('supertest')
66

77
test.before(async t => {
8-
nock('https://s3proxy-public.s3.amazonaws.com:443', {"encodedQueryParams":true})
8+
nock('https://s3proxy-public.s3.us-east-1.amazonaws.com:443', {"encodedQueryParams":true})
99
.head('/')
1010
.reply(200)
1111
nock.disableNetConnect()

0 commit comments

Comments
 (0)