Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
],
imports: [
ChatModule,
BrowserModule,
HttpClientModule,
AppRoutingModule,
MatCardModule,
MatButtonModule,
MatIconModule,
BrowserAnimationsModule,
MatProgressButtonsModule.forRoot(),
SharedModule,
NgxsStoreModule,
LoggerModule.forRoot({
serverLoggingUrl: '',
level: environment.production ? NgxLoggerLevel.OFF : NgxLoggerLevel.DEBUG,
serverLogLevel: NgxLoggerLevel.OFF
}),
ToastrModule.forRoot(),
ClipboardModule,
// Portal Module Sections
CoreModule.forRoot(),
EmojiPickerModule.forRoot(),
TranslateModule.forRoot(
{
defaultLanguage: environment.localization.defaultLanguage,
loader: {
provide: TranslateLoader,
useFactory: HttpLoaderFactory,
deps: [HttpClient]
imports: [
ChatModule,
BrowserModule,
HttpClientModule,
AppRoutingModule,
MatCardModule,
MatButtonModule,
MatIconModule,
BrowserAnimationsModule,
MatProgressButtonsModule.forRoot(),
SharedModule,
NgxsStoreModule,
LoggerModule.forRoot({
serverLoggingUrl: '',
level: environment.production ? NgxLoggerLevel.OFF : NgxLoggerLevel.DEBUG,
serverLogLevel: NgxLoggerLevel.OFF
}),
ToastrModule.forRoot(),
ClipboardModule,
// Portal Module Sections
CoreModule.forRoot(),
EmojiPickerModule.forRoot(),
TranslateModule.forRoot(
{
defaultLanguage: environment.localization.defaultLanguage,
loader: {
provide: TranslateLoader,
useFactory: HttpLoaderFactory,
deps: [HttpClient]
}
MatIconModule,
MatListModule,
MatTooltipModule,
MatTabsModule,
MatCardModule,
MatFormFieldModule } from '@angular/material';
@NgModule({
declarations: [
AppComponent
],
imports: [
BrowserModule,
BrowserAnimationsModule,
HttpClientModule,
LoggerModule.forRoot({level: NgxLoggerLevel.DEBUG, serverLogLevel: NgxLoggerLevel.OFF}),
LayoutModule,
FlexLayoutModule,
MatToolbarModule,
MatButtonModule,
MatSidenavModule,
MatIconModule,
MatListModule,
MatTooltipModule,
MatTabsModule,
MatCardModule,
MatFormFieldModule
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }
import { NgxLoggerLevel } from 'ngx-logger';
export const environment = {
production: true,
ngxLoggerConfig: {
level: NgxLoggerLevel.OFF,
disableConsoleLogging: true
},
xsrf: {
headerName: 'ATLASMAP-XSRF-TOKEN',
cookieName: 'ATLASMAP-XSRF-COOKIE',
defaultTokenValue: 'awesome',
},
backendUrls: {
atlasServiceUrl: 'http://localhost:8585/v2/atlas/',
javaInspectionServiceUrl: 'http://localhost:8585/v2/atlas/java/',
xmlInspectionServiceUrl: 'http://localhost:8585/v2/atlas/xml/',
jsonInspectionServiceUrl: 'http://localhost:8585/v2/atlas/json/',
},
};