-
-
Notifications
You must be signed in to change notification settings - Fork 115
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
Support scheme, host, and port in route generation #88
Comments
@bryanrsmith How are we on this? |
@bryanrsmith Currently, the router can track a baseUrl - but this isn't specifically a fully qualified URI. Do we want to use |
I think we should add a new method to history & history-browser to get the root location. If I remember correctly, there's at least one other place in the router where we read |
Per aurelia/router#88 we want to be able to generate an absolute URI with the `router.generate()` method. That method relies upon the history module. `getOrigin` allows the router to generate an absolute URI with the protocol, hostname, and port.
Per aurelia/router#88 we want to be able to generate an absolute URI with the `router.generate()` method. That method relies upon the history module. `getOrigin` allows the router to generate an absolute URI with the protocol, hostname, and port.
Adds an extra boolean argument to `router.generate` to specify whether or not to generate an absolute URI. Fixes aurelia#88.
Per aurelia/router#88 we want to be able to generate an absolute URI with the `router.generate()` method. That method relies upon the history module. `getAbsoluteRoot` allows the router to generate a fully-qualified root URL.
Per aurelia/router#88 we want to be able to generate an absolute URI with the `router.generate()` method. That method relies upon the history module. `getAbsoluteRoot` allows the router to generate a fully-qualified root URL.
Adds an extra boolean argument to `router.generate` to specify whether or not to generate an absolute URI. Fixes aurelia#88.
Per aurelia/router#88 we want to be able to generate an absolute URI with the `router.generate()` method. That method relies upon the history module. `getAbsoluteRoot` allows the router to generate a fully-qualified root URL.
Per aurelia/router#88 we want to be able to generate an absolute URI with the `router.generate()` method. That method relies upon the history module. `getAbsoluteRoot` allows the router to generate a fully-qualified root URL.
Per aurelia/router#88 we want to be able to generate an absolute URI with the `router.generate()` method. That method relies upon the history module. `getAbsoluteRoot` allows the router to generate a fully-qualified root URL.
Per aurelia/router#88 we want to be able to generate an absolute URI with the `router.generate()` method. That method relies upon the history module. `getAbsoluteRoot` allows the router to generate a fully-qualified root URL.
Adds an extra boolean argument to `router.generate` to specify whether or not to generate an absolute URI. Fixes aurelia#88.
It would be great to be able to pass a configuration object to
router.generate
that would enable fully qualified URIs to be rendered. As it is now, you only get a relative path (which is fine by default).The text was updated successfully, but these errors were encountered: