Skip to content

Commit

Permalink
feat: rename gitlab callbacks
Browse files Browse the repository at this point in the history
  • Loading branch information
b41ex committed Jan 25, 2025
1 parent c87a2cc commit 5a8d8be
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion nginx/nginx.conf.template
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ http {
proxy_redirect off;
}

location ~ ^/#/ncgitlab {
location ~ ^/#/gitlab {
proxy_http_version 1.1;
proxy_pass http://${APIHUB_BACKEND_ADDRESS};
proxy_set_header Upgrade $http_upgrade;
Expand Down
2 changes: 1 addition & 1 deletion packages/shared/src/utils/redirects.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export function redirectToSaml(): void {
}

export function redirectToGitlab(): void {
redirectTo('/#/ncgitlab')
redirectTo('/#/gitlab')
}

function redirectTo(path: string, redirectUri?: string): void {
Expand Down

0 comments on commit 5a8d8be

Please # to comment.