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

Fixes invalid page slug when on a localhost with port or different protocol #102

Merged
merged 5 commits into from
Mar 3, 2020

Conversation

simplenotezy
Copy link
Contributor

Fixes a bug where an invalid slug would be generated if you were on say localhost:3080 or with a different protocol.

Copy link
Owner

@EvanAgee EvanAgee left a comment

Choose a reason for hiding this comment

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

Great catch, thanks!

@EvanAgee EvanAgee merged commit fc9748c into EvanAgee:master Mar 3, 2020
schuhwerk pushed a commit to schuhwerk/vuejs-mapbox-wordpress-theme-starter that referenced this pull request Nov 13, 2023
…otocol (EvanAgee#102)

* removed lodash as dependency, instead using native ecma/es6 + converted doubleqoutes to single qoutes + removed unused variables

* removed commented out lines

* removed more commented out code

* proper slug creation (takes port number and protocol into account)
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.

None yet

2 participants