From 4e69d834578c14215dbeef929813344a70c7ca72 Mon Sep 17 00:00:00 2001 From: Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> Date: Thu, 27 May 2021 20:01:50 +0200 Subject: :construction: file storage --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/index.ts') 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(() => { -- cgit 1.5.1