feat: update environment configuration and ngsw settings; refactor input handling and layout components for improved functionality
This commit is contained in:
+5
-5
@@ -19,7 +19,7 @@ import {
|
||||
withEnabledBlockingInitialNavigation,
|
||||
withInMemoryScrolling,
|
||||
} from '@angular/router';
|
||||
import { provideServiceWorker } from '@angular/service-worker';
|
||||
// import { provideServiceWorker } from '@angular/service-worker';
|
||||
// Use the consolidated preset that includes our custom variables
|
||||
import { ConfirmationService, MessageService } from 'primeng/api';
|
||||
import { providePrimeNG } from 'primeng/config';
|
||||
@@ -74,9 +74,9 @@ export const appConfig: ApplicationConfig = {
|
||||
withInterceptors([loggingInterceptor, authInterceptor, errorInterceptor, dedupInterceptor]),
|
||||
withInterceptorsFromDi(),
|
||||
),
|
||||
provideServiceWorker('ngsw-worker.js', {
|
||||
enabled: !isDevMode(),
|
||||
registrationStrategy: 'registerWhenStable:30000',
|
||||
}),
|
||||
// provideServiceWorker('ngsw-worker.js', {
|
||||
// enabled: !isDevMode(),
|
||||
// registrationStrategy: 'registerWhenStable:30000',
|
||||
// }),
|
||||
],
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user