diff --git a/.drone.yml b/.drone.yml index 16330a6..c47942f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -54,8 +54,6 @@ steps: - rm -rf www - tar xzf build.tar.gz - cd www - - sed -i 's///' index.html - - sed -i 's/Ionic App/Noded/' index.html - echo -n "$(uuidgen)" | sudo tee version.html when: event: promote @@ -92,8 +90,6 @@ steps: - rm -rf www - tar xzf build.tar.gz - cd www - - sed -i 's///' index.html - - sed -i 's/Ionic App/Noded/' index.html - echo -n "$(uuidgen)" | sudo tee version.html when: event: promote diff --git a/ngsw-config.json b/ngsw-config.json index aba8151..e419135 100644 --- a/ngsw-config.json +++ b/ngsw-config.json @@ -1,4 +1,5 @@ { + "$schema": "./node_modules/@angular/service-worker/config/schema.json", "index": "/index.html", "assetGroups": [ { @@ -16,7 +17,7 @@ }, { "name": "assets", - "installMode": "lazy", + "installMode": "prefetch", "updateMode": "prefetch", "resources": { "files": [ diff --git a/src/index.html b/src/index.html index b647d3f..189b088 100644 --- a/src/index.html +++ b/src/index.html @@ -3,9 +3,9 @@ - Ionic App + Noded - +