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

Already on GitHub? Sign in to your account

Config option for setting first rendered url #13

shumkov opened this Issue Jun 25, 2014 · 2 comments


None yet
2 participants

shumkov commented Jun 25, 2014

In my app a have a special route (http://geometria.local:8000/prerender/) for initial rendering for preloading data.
Before 2.2.0 i use baseUrl option, but now it doesn't work.
applicationPage appends to the baseUrl for receiving HTML, and of course, http://geometria.local:8000/prerender/index.html is wrong URL.

Can you add a new option for initial prerender url?

For example:

   "baseUrl": "http://geometria.local:8000/",
   "initialUrl": "prerender/",
   "applicationPage": "index.html"

Stanback commented Jun 26, 2014

Sure, sorry about breaking things in 2.2.0

Would it work if I allow applicationPage to be a full URL if you want to host your index.html page at a different location? If applicationPage isn't a full URL, the default behavior would be to append it to baseUrl.


shumkov commented Jun 26, 2014

I think, it no so clearly and host in applicationPage and baseUrl always be a equal.

I am understand baseUrl as base URL, and others URI is appended to it. For example application may be placed in sub-dir of web server public dir (http://geometria.local:8000/app) and applicationPage and initialUrl (or startUrl) must be appended to it.

@Stanback Stanback closed this Jul 11, 2014

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