mirror of
https://github.com/coder/code-server.git
synced 2025-07-30 21:45:08 +08:00
Add dev mode constant
This commit is contained in:
@ -20,3 +20,4 @@ export const version = pkg.version || "development"
|
||||
export const commit = pkg.commit || "development"
|
||||
export const rootPath = path.resolve(__dirname, "../..")
|
||||
export const tmpdir = path.join(os.tmpdir(), "code-server")
|
||||
export const isDevMode = commit === "development"
|
||||
|
Reference in New Issue
Block a user