1 files changed, 1 insertions, 1 deletions
diff --git a/cdn/src/start.ts b/cdn/src/start.ts
index 132c6164..2a449130 100644
--- a/cdn/src/start.ts
+++ b/cdn/src/start.ts
@@ -2,7 +2,6 @@ import path from "path";
import dotenv from "dotenv";
import fse from "fs-extra";
dotenv.config();
-import { CDNServer } from "./Server";
if (!process.env.STORAGE_PROVIDER) process.env.STORAGE_PROVIDER = "file";
// TODO:nodejs path.join trailing slash windows compatible
@@ -17,6 +16,7 @@ if (process.env.STORAGE_PROVIDER === "file") {
fse.ensureDirSync(process.env.STORAGE_LOCATION);
}
+import { CDNServer } from "./Server";
const server = new CDNServer({ port: Number(process.env.PORT) || 3003 });
server
.start()
|