Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add path suffix for web uploader login redirect #1601

Merged
merged 2 commits into from
Dec 15, 2023

Conversation

krystophv
Copy link
Member

No description provided.

Copy link
Contributor

@darinkrauss darinkrauss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One question. Assuming we do need the trailing slash, then approved.

@@ -74,7 +74,7 @@ export const Login = () => {
</button>
);
};
let redirectUri = win.location.origin;
let redirectUri = win.location.origin + env.electron ? '' : '/uploader/';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need the trailing slash?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Turns out, no. I'll drop it.

@krystophv krystophv merged commit 0c5303c into darin/in-browser-merged.3 Dec 15, 2023
4 of 6 checks passed
@krystophv krystophv deleted the web-login-redirect branch December 15, 2023 20:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants