Skip to content

ui-router-server / location / ServerLocationOptions

Interface: ServerLocationOptions ​

Defined in: location.ts:99

Options for `installServerLocation`.

Extends ​

Properties ​

PropertyTypeDescriptionInherited fromDefined in
baseHref?stringThe 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:107
html5Mode?booleanWhether hrefs are paths (/sheet/7B) rather than fragments (#/sheet/7B). Defaults to true; pass false for a hash client.ServerLocationPluginOptions.html5Modelocation.ts:52
url?stringThe requested path, query included, as the server received it — /sheet/7B?tab=notes.-location.ts:101
urlConfig?RouterUrlConfigThe url options the router compiles its urls with, applied through `applyUrlConfig` before anything else, so a mount's config passes as is.-location.ts:113