tidy up
This commit is contained in:
parent
ae3454c1a4
commit
67e1e77de2
|
@ -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 ||
|
const S3_URL = `https://${appId}.app.budi.live/assets/${appId}/${mainOrAuth}/${ctx.file ||
|
||||||
"index.production.html"}`
|
"index.production.html"}`
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,6 @@ const { resolve } = require("path")
|
||||||
|
|
||||||
async function runServer() {
|
async function runServer() {
|
||||||
const budibaseDir = "~/.budibase"
|
const budibaseDir = "~/.budibase"
|
||||||
require("dotenv").config()
|
|
||||||
|
|
||||||
process.env.BUDIBASE_DIR = resolve(budibaseDir)
|
process.env.BUDIBASE_DIR = resolve(budibaseDir)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue