Skip to content

fix: remove identity prefix from site URL if exists #482

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

Merged
merged 1 commit into from
Jul 26, 2021

Conversation

erezrokah
Copy link
Contributor

When copy pasting the Identity URL from the Netlify Identity tab in the UI, it contains the /.netlify/identity path, while the widget expects it without the path.

This PR trims https://<site-domain>/.netlify/identity to https://<site-domain>.netlify.app to handle that use case.

@erezrokah erezrokah added the type: bug code to address defects in shipped code label Jul 26, 2021
@netlify
Copy link

netlify bot commented Jul 26, 2021

✔️ Deploy Success!

🔨 Explore the source changes: 096fd13

🔍 Inspect the deploy log: https://app.netlify.com/sites/identity/deploys/60feaab86545b000083eb5b2

😎 Browse the preview: https://deploy-preview-482--identity.netlify.app

@erezrokah erezrokah requested a review from JGAntunes July 26, 2021 12:30
@erezrokah erezrokah merged commit afc0df7 into master Jul 26, 2021
@erezrokah erezrokah deleted the fix/trim_url_on_paste branch July 26, 2021 12:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug code to address defects in shipped code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants