mirror of
https://github.com/Terncode/pixel.horse.git
synced 2026-09-24 13:55:04 +02:00
* Revert "7f7efbb94bab8574e42d942ad82d414e007b2970" Code style changes should probably be part of a PR
9 lines
377 B
TypeScript
9 lines
377 B
TypeScript
import './bootstrap-common';
|
|
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
|
|
import { AppModule } from './components/app/app.module';
|
|
import { host, local } from './client/data';
|
|
|
|
if (DEVELOPMENT || local || host === `${location.protocol}//${location.host}/`) {
|
|
platformBrowserDynamic().bootstrapModule(AppModule, { preserveWhitespaces: true });
|
|
}
|