Merge pull request #11809 from overleaf/jpa-fix-is-old-domain-flag

[web] user-content-domain-access-check: fix isOldDomain flag

GitOrigin-RevId: 56332dbb414fcfb7e5833cb9af21bee6ef69253f
This commit is contained in:
Jakob Ackermann 2023-02-14 08:57:40 +00:00 committed by Copybot
parent f7e632ceb9
commit ce1c9713bd

View file

@ -231,7 +231,7 @@ export async function checkUserContentDomainAccess(
failed,
succeeded: cases.length - failed,
isOldDomain:
compileDomainOrigin === getMeta('ol-compilesUserContentDomain'),
compileDomainOrigin === getMeta('ol-fallbackCompileDomain'),
},
})
} catch (e) {}