interface
Config object passed to initialize the platform.
interface PlatformConfig { document?: string url?: string useAbsoluteUrl?: boolean baseUrl?: string }
Property | Description |
---|---|
document?: string | The initial DOM to use to bootstrap the server application. |
url?: string | The URL for the current application state. This is used for initializing the platform's location. |
useAbsoluteUrl?: boolean | Deprecated Note: this option has no effect and can be removed from the config. Whether to append the absolute URL to any relative HTTP requests. If set to true, this logic executes prior to any HTTP interceptors that may run later on in the request. Deprecated This option is a noop. |
baseUrl?: string | Deprecated Note: this option has no effect and can be removed from the config. The base URL for resolving absolute URL for HTTP requests. It must be set if Deprecated This option is a noop. |
© 2010–2023 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://angular.io/api/platform-server/PlatformConfig