Skip to content

Commit

Permalink
♻️ wrong url
Browse files Browse the repository at this point in the history
  • Loading branch information
acidjazz committed Aug 15, 2024
1 parent 26922c6 commit cd6bd7e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/utils/oauth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ export const googleHandler = oauthGoogleEventHandler({
authorizationParams: import.meta.dev
? {}
: {
redirect_uri: 'https://fume.bio/api/oauth/google/callback',
redirect_uri: 'https://fume.bio/api/oauth/google',
},
},
async onSuccess(event: H3Event<EventHandlerRequest>, { user }: { user: any }) {
Expand All @@ -136,7 +136,7 @@ export const githubHandler = oauthGitHubEventHandler({
authorizationParams: import.meta.dev
? {}
: {
redirect_uri: 'https://fume.bio/api/oauth/github/callback',
redirect_uri: 'https://fume.bio/api/oauth/github',
},
},
async onSuccess(event: H3Event<EventHandlerRequest>, { user }: { user: any }) {
Expand Down

0 comments on commit cd6bd7e

Please sign in to comment.