We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 53f14f8 commit e868a90Copy full SHA for e868a90
projects/ng-http-caching/src/lib/ng-http-caching.service.ts
@@ -180,7 +180,7 @@ export const NgHttpCachingConfigDefault: Readonly<NgHttpCachingDefaultConfig> =
180
checkResponseHeaders: false
181
};
182
183
-@Injectable()
+@Injectable({ providedIn: 'root' })
184
export class NgHttpCachingService {
185
186
private readonly queue = new Map<string, Observable<HttpEvent<any>>>();
0 commit comments