Skip to content

Commit

Permalink
MWPW-147599: CaaS Bulk Publisher not working after MS authentication …
Browse files Browse the repository at this point in the history
…change (#2248)

Potential fix for bulk publisher issues

Co-authored-by: Blaine Gunn <Blainegunn@gmail.com>
Co-authored-by: Sheridan Sunier <sunier92@gmail.com>
  • Loading branch information
3 people authored May 14, 2024
1 parent 584f6da commit 8c07aea
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tools/send-to-caas/bulk-publish-to-caas.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,7 @@ const processData = async (data, accessToken) => {

let domain = `https://${host}`;

if (usePreview) {
domain = `https://main--${repo}--${owner}.hlx.page`;
} else if (publishToFloodgate !== 'default') {
if (usePreview || publishToFloodgate !== 'default') {
domain = `https://main--${repo}--${owner}.hlx.live`;
}

Expand Down

0 comments on commit 8c07aea

Please sign in to comment.