Moved to using variable instead of env

This commit is contained in:
2025-08-11 11:03:34 +02:00
parent 9532742018
commit a9976c60dc
3 changed files with 9 additions and 4 deletions

View File

@@ -7,8 +7,8 @@ import { log } from "./Logger"
const client = new Client()
const redis = new RedisClient(env.prod.REDISURI)
const ft = process.env.BUILD !== "true" ? "ts" : "js"
const dir = process.env.DOCKER !== "1" ? process.env.BUILD !== "true" ? "src" : "dist" : ""
const ft = bun__build !== true ? "ts" : "js"
const dir = bun__docker !== true ? bun__build !== true ? "src" : "dist" : ""
class Illegitimate {
async start() {