mirror of
https://github.com/coder/code-server.git
synced 2026-05-27 15:39:34 +00:00
@@ -1,3 +1,5 @@
|
||||
import * as path from "path";
|
||||
|
||||
export const isCli = typeof process.env.CLI !== "undefined" && process.env.CLI !== "false";
|
||||
export const serveStatic = typeof process.env.SERVE_STATIC !== "undefined" && process.env.SERVE_STATIC !== "false";
|
||||
export const buildDir = process.env.BUILD_DIR;
|
||||
export const buildDir = process.env.BUILD_DIR ? path.resolve(process.env.BUILD_DIR) : "";
|
||||
|
||||
Reference in New Issue
Block a user