2 Commits

Author SHA1 Message Date
f35dd1e050 1.0.3 2021-12-18 01:48:03 +01:00
66eba9eef7 fix(core): update 2021-12-18 01:48:03 +01:00
3 changed files with 4 additions and 5 deletions

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{ {
"name": "@pushrocks/smarts3", "name": "@pushrocks/smarts3",
"version": "1.0.2", "version": "1.0.3",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "@pushrocks/smarts3", "name": "@pushrocks/smarts3",
"version": "1.0.2", "version": "1.0.3",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@pushrocks/smartfile": "^9.0.3", "@pushrocks/smartfile": "^9.0.3",

View File

@ -1,6 +1,6 @@
{ {
"name": "@pushrocks/smarts3", "name": "@pushrocks/smarts3",
"version": "1.0.2", "version": "1.0.3",
"private": false, "private": false,
"description": "create an s3 endpoint that maps to a local directory", "description": "create an s3 endpoint that maps to a local directory",
"main": "dist_ts/index.js", "main": "dist_ts/index.js",

View File

@ -24,8 +24,7 @@ export class Smarts3 {
port: this.options.port || 3000, port: this.options.port || 3000,
address: '0.0.0.0', address: '0.0.0.0',
silent: false, silent: false,
directory: paths.bucketsDir, directory: paths.bucketsDir
allowMismatchedSignatures: true,
}) })
await this.s3Instance.run(); await this.s3Instance.run();
console.log('s3 server is running'); console.log('s3 server is running');