From 39c87666d8fe9ec521c016fc1d09e6d94860714a Mon Sep 17 00:00:00 2001 From: ztimson Date: Thu, 8 Aug 2019 08:36:22 -0400 Subject: [PATCH] fixed --- ngsw-config.json | 8 -------- src/app/{views/map => services}/sync.service.ts | 0 src/app/views/home/home.component.ts | 2 +- 3 files changed, 1 insertion(+), 9 deletions(-) rename src/app/{views/map => services}/sync.service.ts (100%) 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';