Skip to content
This repository was archived by the owner on Jun 10, 2023. It is now read-only.

External links support in main menu - #12

Open
oscmedgon wants to merge 1 commit into
panr:masterfrom
oscmedgon:oscmedgon-patch-main-menu
Open

External links support in main menu#12
oscmedgon wants to merge 1 commit into
panr:masterfrom
oscmedgon:oscmedgon-patch-main-menu

Conversation

@oscmedgon

Copy link
Copy Markdown

I found a problem using absolute URLs in the main menu, the page redirects me to a subpath of the blog with the absolute URL on it:
baseUrl: http://blog.example.com
linkUrl: http://www.example.com
Redirects to http://blog.example.com/http://www.example.com
With this fix now detects absolute URLs and uses an anchor instead of a react router Link.

@jyoo jyoo left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

This is working very well!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants