Skip to content

Commit

Permalink
🚧 wip (MUNify): added logs
Browse files Browse the repository at this point in the history
branch: main
  • Loading branch information
m1212e committed Jul 17, 2024
1 parent 6901030 commit adc2b44
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/api/auth/flow.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ type OIDCFlowState = {
export function startSignin(visitedUrl: URL) {
//TODO https://github.com/gornostay25/svelte-adapter-bun/issues/62
if (dynamicPrivateConfig.NODE_ENV === 'production') {
console.info('Production mode detected, redirecting to HTTPS', visitedUrl.toString());
visitedUrl = new URL(visitedUrl.toString().replace('http://', 'https://'));
}
const code_verifier = generators.codeVerifier();
Expand Down

0 comments on commit adc2b44

Please sign in to comment.