forked from tsai/budibase
5 changed files with 24 additions and 2 deletions
@ -0,0 +1,8 @@ |
|||||
|
#!/usr/bin/env node
|
||||
|
const updateDotEnv = require("update-dotenv") |
||||
|
|
||||
|
const arg = process.argv.slice(2)[0] |
||||
|
|
||||
|
updateDotEnv({ |
||||
|
SELF_HOSTED: arg === "enable" ? "1" : "0", |
||||
|
}).then(() => console.log("Updated server!")) |
||||
@ -0,0 +1,8 @@ |
|||||
|
#!/usr/bin/env node
|
||||
|
const updateDotEnv = require("update-dotenv") |
||||
|
|
||||
|
const arg = process.argv.slice(2)[0] |
||||
|
|
||||
|
updateDotEnv({ |
||||
|
SELF_HOSTED: arg === "enable" ? "1" : "0", |
||||
|
}).then(() => console.log("Updated worker!")) |
||||
Loading…
Reference in new issue