summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/start.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/start.ts b/src/start.ts

index 72175f46..54228a5f 100644 --- a/src/start.ts +++ b/src/start.ts
@@ -1,7 +1,8 @@ -import { CDNServer } from "./Server"; import dotenv from "dotenv"; dotenv.config(); +import { CDNServer } from "./Server"; + if (process.env.STORAGE_LOCATION) { if (!process.env.STORAGE_LOCATION.startsWith("/")) { process.env.STORAGE_LOCATION = __dirname + "/../" + process.env.STORAGE_LOCATION;