Skip to content

Commit

Permalink
chore: enable with fetch
Browse files Browse the repository at this point in the history
  • Loading branch information
BernardoSemiOficial committed Jun 3, 2024
1 parent 88dde16 commit d82fab7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/app.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ import { provideRouter } from '@angular/router';

import { routes } from './app.routes';
import { provideClientHydration } from '@angular/platform-browser';
import { provideHttpClient } from '@angular/common/http';
import { provideHttpClient, withFetch } from '@angular/common/http';

export const appConfig: ApplicationConfig = {
providers: [
provideRouter(routes),
provideClientHydration(),
provideHttpClient(),
provideHttpClient(withFetch()),
],
};

0 comments on commit d82fab7

Please sign in to comment.