fix(platform-server): read initial location from INITIAL_CONFIG if present

This commit is contained in:
Alex Rickabaugh
2017-02-14 19:48:48 -08:00
committed by Igor Minar
parent 047cda5b3c
commit 56f232cdd7
7 changed files with 63 additions and 23 deletions

View File

@ -1,6 +1,12 @@
/** @experimental */
export declare const INITIAL_CONFIG: InjectionToken<PlatformConfig>;
/** @experimental */
export interface PlatformConfig {
document?: string;
url?: string;
}
/** @experimental */
export declare const platformDynamicServer: (extraProviders?: Provider[]) => PlatformRef;