fileHost is undefined for most use cases

This commit is contained in:
ansuz 2022-04-04 16:32:42 +05:30
parent 460832a6ef
commit b014c4dbf1
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ module.exports.create = function (config) {
const Env = {
protocol: new URL(httpUnsafeOrigin).protocol,
fileHost: config.fileHost, // XXX
fileHost: config.fileHost || undefined,
NO_SANDBOX: NO_SANDBOX,
httpSafePort: httpSafePort,