ui-router-server / location / ServerLocationOptions
Interface: ServerLocationOptions
Defined in: location.ts:96
Options for `installServerLocation`.
Extends
Properties
| Property | Type | Description | Inherited from | Defined in |
|---|---|---|---|---|
baseHref? | string | The prefix the app is mounted under, added to every href. Pass `url` without it — the router matches paths relative to the mount, exactly as a <base href> client does. | - | location.ts:104 |
html5Mode? | boolean | Whether hrefs are paths (/sheet/7B) rather than fragments (#/sheet/7B). Defaults to true; pass false for a hash client. | ServerLocationPluginOptions.html5Mode | location.ts:49 |
strictMode? | boolean | Whether a trailing slash has to match exactly; most static hosts want false. | - | location.ts:106 |
url? | string | The requested path, query included, as the server received it — /sheet/7B?tab=notes. | - | location.ts:98 |