This commit is contained in:
Martin McKeaveney 2020-07-09 11:21:42 +01:00
parent 08181e8a50
commit 7222342c50
2 changed files with 1 additions and 2 deletions

View File

@ -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"}`

View File

@ -2,7 +2,6 @@ const { resolve } = require("path")
async function runServer() {
const budibaseDir = "~/.budibase"
require("dotenv").config()
process.env.BUDIBASE_DIR = resolve(budibaseDir)