summary refs log tree commit diff
path: root/src/index.ts
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-05-27 20:01:50 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-05-27 20:01:50 +0200
commit4e69d834578c14215dbeef929813344a70c7ca72 (patch)
tree187eaf12ca04194c21f03ccb805ce66c2b4afbbb /src/index.ts
parent:construction: attachment (diff)
downloadserver-4e69d834578c14215dbeef929813344a70c7ca72.tar.xz
:construction: file storage
Diffstat (limited to 'src/index.ts')
-rw-r--r--src/index.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/index.ts b/src/index.ts

index cdf88fd9..72175f46 100644 --- a/src/index.ts +++ b/src/index.ts
@@ -8,7 +8,7 @@ if (process.env.STORAGE_LOCATION) { } } else process.env.STORAGE_LOCATION = __dirname + "/../files/"; -const server = new CDNServer(); +const server = new CDNServer({ port: Number(process.env.PORT) || 3003 }); server .start() .then(() => {