Skip to content

Commit

Permalink
fix refactor - missing rename in files.js
Browse files Browse the repository at this point in the history
  • Loading branch information
cacieprins committed Dec 16, 2024
1 parent a857a38 commit ec653df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/server/lib/controllers/files.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,15 @@ module.exports = {
debug('primary remote state', remoteStates.getPrimary())
const { origin } = remoteStates.getPrimary()

const superDomain = injection.shouldSetDomainForUrl(origin) ? injection.getHostname(origin) : ''
const superDomain = injection.shouldInjectDocumentDomain(origin) ? injection.getHostname(origin) : ''

const privilegedChannel = await privilegedCommandsManager.getPrivilegedChannel({
browserFamily: req.query.browserFamily,
isSpecBridge: false,
namespace: config.namespace,
scripts: allFilesToSend,
url: req.proxiedUrl,
documentDomainContext: injection.shouldSetDomainForUrl(origin),
documentDomainContext: injection.shouldInjectDocumentDomain(origin),
})

const iframeOptions = {
Expand Down

0 comments on commit ec653df

Please sign in to comment.