Fixing an issue with platformUrl being required in settings.

This commit is contained in:
mike12345567 2021-05-11 12:51:14 +01:00
parent ad7e892226
commit 9b12de9162
1 changed files with 1 additions and 2 deletions

View File

@ -7,9 +7,8 @@ const {
EmailTemplatePurpose, EmailTemplatePurpose,
} = require("../constants") } = require("../constants")
const { checkSlashesInUrl } = require("./index") const { checkSlashesInUrl } = require("./index")
const env = require("../environment")
const LOCAL_URL = `http://localhost:${env.PORT}` const LOCAL_URL = `http://localhost:10000`
const BASE_COMPANY = "Budibase" const BASE_COMPANY = "Budibase"
exports.getSettingsTemplateContext = async (purpose, code = null) => { exports.getSettingsTemplateContext = async (purpose, code = null) => {