This commit is contained in:
Martin McKeaveney 2020-07-09 11:21:42 +01:00
parent ae3454c1a4
commit 67e1e77de2
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 || const S3_URL = `https://${appId}.app.budi.live/assets/${appId}/${mainOrAuth}/${ctx.file ||
"index.production.html"}` "index.production.html"}`

View File

@ -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)