2024-07-06 01:01:52 +00:00
|
|
|
import { mergeApplicationConfig, ApplicationConfig } from '@angular/core';
|
|
|
|
import { provideServerRendering } from '@angular/platform-server';
|
|
|
|
import { appConfig } from './app.config';
|
2024-10-17 08:48:15 +00:00
|
|
|
import { provideHttpClient, withFetch } from '@angular/common/http';
|
2024-07-06 01:01:52 +00:00
|
|
|
|
|
|
|
const serverConfig: ApplicationConfig = {
|
|
|
|
providers: [
|
2024-10-17 08:48:15 +00:00
|
|
|
provideServerRendering(),
|
|
|
|
provideHttpClient(withFetch())
|
2024-07-06 01:01:52 +00:00
|
|
|
]
|
|
|
|
};
|
|
|
|
|
|
|
|
export const config = mergeApplicationConfig(appConfig, serverConfig);
|