Skip to content
This repository has been archived by the owner on Jan 16, 2018. It is now read-only.

Get requested domain? #84

Open
triptec opened this issue Jun 26, 2015 · 0 comments
Open

Get requested domain? #84

triptec opened this issue Jun 26, 2015 · 0 comments

Comments

@triptec
Copy link

triptec commented Jun 26, 2015

Hello, I'm trying to make an app that uses the domain/hostname to load different data, for the prerender I was thinking I could use req.get('host') but I can't really see where I should set it/pass it in.

Preferably I'd like to have it in the route like

<Route name="blog" path=":domain/blog/:id" handler={BlogPage} />

so I can get them in my props, obviously I know I can't but yeah..

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant