Skip to content

Commit

Permalink
fileHost is undefined for most use cases
Browse files Browse the repository at this point in the history
  • Loading branch information
ansuz committed Apr 4, 2022
1 parent 460832a commit b014c4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/env.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,

Expand Down

0 comments on commit b014c4d

Please sign in to comment.