Skip to content
New issue

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

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

Already on GitHub? # to your account

feat: added ability to conveniently get hostname from client/server API of the Transition hooks plugin #305

Merged
merged 1 commit into from
May 31, 2021

Conversation

StyleT
Copy link
Contributor

@StyleT StyleT commented May 31, 2021

No description provided.

@StyleT StyleT requested review from nightnei and ifree92 May 31, 2021 12:02
@@ -34,10 +34,12 @@ export default class GuardManager {
route: {
meta: route.meta,
url: route.reqUrl,
hostname: window.location.hostname,
Copy link
Contributor

Choose a reason for hiding this comment

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

it's minor but I think it's a little bit better to use host instead of hostname. what do you think?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Nope :) http://bl.ocks.org/abernier/3070589 I would work inconsistently with SSR then.

@StyleT StyleT merged commit 13c193c into master May 31, 2021
@StyleT StyleT deleted the feature/added_hostname_to_transition_hooks_interface branch May 31, 2021 17:53
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants