Created
October 25, 2022 09:26
-
-
Save NetanelBasal/40879e5466ac778c44706757cf5309f0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { | |
provideHttpClient, | |
withJsonpSupport, | |
withXsrfConfiguration | |
} from '@angular/common/http'; | |
import { bootstrapApplication } from '@angular/platform-browser'; | |
bootstrapApplication(AppComponent, { | |
providers: [ | |
provideHttpClient( | |
withXsrfConfiguration({ cookieName: '', headerName: '' }), | |
withJsonpSupport() | |
), | |
], | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment