fire
This commit is contained in:
@ -1,9 +1,26 @@
|
||||
import { ApplicationConfig, provideZoneChangeDetection } from '@angular/core';
|
||||
import { provideRouter } from '@angular/router';
|
||||
import {ApplicationConfig, provideZoneChangeDetection} from '@angular/core';
|
||||
import {provideRouter} from '@angular/router';
|
||||
|
||||
import { routes } from './app.routes';
|
||||
import {routes} from './app.routes';
|
||||
import {provideHttpClient} from '@angular/common/http';
|
||||
import {initializeApp, provideFirebaseApp} from '@angular/fire/app';
|
||||
import {getFirestore, provideFirestore} from '@angular/fire/firestore';
|
||||
|
||||
const firebaseConfig = {
|
||||
apiKey: "AIzaSyDh7OjqpUdoVPzzzdPa8t_Pm4_UsanJC-c",
|
||||
authDomain: "tv-serien-ff0ce.firebaseapp.com",
|
||||
projectId: "tv-serien-ff0ce",
|
||||
storageBucket: "tv-serien-ff0ce.firebasestorage.app",
|
||||
messagingSenderId: "38528604508",
|
||||
appId: "1:38528604508:web:e4070052d0495cf28e4999"
|
||||
};
|
||||
|
||||
export const appConfig: ApplicationConfig = {
|
||||
providers: [provideZoneChangeDetection({ eventCoalescing: true }), provideRouter(routes), provideHttpClient()]
|
||||
providers: [
|
||||
provideZoneChangeDetection({eventCoalescing: true}),
|
||||
provideRouter(routes),
|
||||
provideHttpClient(),
|
||||
provideFirebaseApp(() => initializeApp(firebaseConfig)),
|
||||
provideFirestore(() => getFirestore())
|
||||
]
|
||||
};
|
||||
|
Reference in New Issue
Block a user