Skip to content

Commit

Permalink
fix(axios/withXSRFToken): additional to b7738a9
Browse files Browse the repository at this point in the history
  • Loading branch information
ma-efremoff committed May 20, 2024
1 parent 76a5285 commit 88b5efa
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/ui/src/ui/common/yt-api-init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,7 @@ export function initYTApiClusterParams(cluster: string) {
yt.setup.setGlobalOption('secure', true);
}

if (config.authentication === 'domain') {
yt.setup.setGlobalOption('authentication', {type: 'domain'});
}
yt.setup.setGlobalOption('authentication', {type: config.authentication || 'none'});

yt.subscribe('error', onError);
}
Expand Down

0 comments on commit 88b5efa

Please # to comment.