tidy up
This commit is contained in:
parent
08181e8a50
commit
7222342c50
|
@ -49,7 +49,7 @@ exports.serveApp = async function(ctx) {
|
|||
})
|
||||
}
|
||||
|
||||
if (!process.env.CLOUD) {
|
||||
if (process.env.CLOUD) {
|
||||
const S3_URL = `https://${appId}.app.budi.live/assets/${appId}/${mainOrAuth}/${ctx.file ||
|
||||
"index.production.html"}`
|
||||
|
||||
|
|
|
@ -2,7 +2,6 @@ const { resolve } = require("path")
|
|||
|
||||
async function runServer() {
|
||||
const budibaseDir = "~/.budibase"
|
||||
require("dotenv").config()
|
||||
|
||||
process.env.BUDIBASE_DIR = resolve(budibaseDir)
|
||||
|
||||
|
|
Loading…
Reference in New Issue