Skip to content

Commit 975a69c

Browse files
JeanMechepkozlowski-opensource
authored andcommitted
docs: fix NG2800 rendering (angular#60932)
PR Close angular#60932
1 parent e96a0c1 commit 975a69c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

adev/src/content/reference/errors/NG02800.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
Angular produces this error when you attempt a `JSONP` request without providing the necessary support for it in the `HttpClient` configuration.
44
To enable `JSONP` support, you can do one of the following:
55

6-
- add the `withJsonpSupport()` as an argument during the `provideHttpClient` function call (e.g. `provideHttpClient(withJsonpSupport())`) when `bootstrapApplication` is used
7-
- import the `HttpClientJsonpModule` in your root AppModule, when NgModule-based bootstrap is used.## Debugging the error
6+
- add the `withJsonpSupport()` as an argument during the `provideHttpClient` function call (e.g. `provideHttpClient(withJsonpSupport())`) when `bootstrapApplication` is useddocs
7+
- import the `HttpClientJsonpModule` in your root AppModule, when NgModule-based bootstrap is used.
8+
9+
## Debugging the error
810
Make sure that the JSONP support is added into your application either by calling the `withJsonpSupport` function (when `provideHttpClient` is used) or importing the `HttpClientJsonpModule` module as described above.

0 commit comments

Comments
 (0)