diff --git a/ngsw-config.json b/ngsw-config.json index 992da15..f3bf01c 100644 --- a/ngsw-config.json +++ b/ngsw-config.json @@ -23,14 +23,6 @@ "/*.(eot|svg|cur|jpg|png|webp|gif|otf|ttf|woff|woff2|ani)" ] } - }, { - "name": "maps", - "installMode": "lazy", - "resources": { - "urls": [ - "https://maps.googleapis.com/maps/**" - ] - } } ] } diff --git a/src/app/views/map/sync.service.ts b/src/app/services/sync.service.ts similarity index 100% rename from src/app/views/map/sync.service.ts rename to src/app/services/sync.service.ts diff --git a/src/app/views/home/home.component.ts b/src/app/views/home/home.component.ts index 8cec525..ccb7ab2 100644 --- a/src/app/views/home/home.component.ts +++ b/src/app/views/home/home.component.ts @@ -2,7 +2,7 @@ import {Component} from "@angular/core"; import {Observable, timer} from "rxjs"; import {map, take} from "rxjs/operators"; import {Router} from "@angular/router"; -import {SyncService} from "../map/sync.service"; +import {SyncService} from "../../services/sync.service"; const chars = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789';