diff --git a/angular.json b/angular.json index 795c8e83..e9735ee2 100644 --- a/angular.json +++ b/angular.json @@ -24,7 +24,8 @@ "tsConfig": "src/tsconfig.app.json", "assets": [ "src/favicon.ico", - "src/assets" + "src/assets", + "src/robots.txt" ], "styles": [ "src/styles.scss" diff --git a/firebase.json b/firebase.json index e3bf6769..7f3412cc 100644 --- a/firebase.json +++ b/firebase.json @@ -21,9 +21,38 @@ "source": "**", "destination": "/index.html" } + ], + "headers": [ + { + "source": "*.js", + "headers": [ + { + "key": "Cache-Control", + "value": "max-age=10800" + } + ] + }, + { + "source": "*.css", + "headers": [ + { + "key": "Cache-Control", + "value": "max-age=10800" + } + ] + }, + { + "source": "**/*.@(jpg|jpeg|gif|png|svg)", + "headers": [ + { + "key": "Cache-Control", + "value": "max-age=19000" + } + ] + } ] }, "storage": { "rules": "storage.rules" } -} +} \ No newline at end of file diff --git a/src/app/app.component.html b/src/app/app.component.html index 2d204bb2..43a41936 100644 --- a/src/app/app.component.html +++ b/src/app/app.component.html @@ -4,7 +4,7 @@ - + {{nav.label}} diff --git a/src/app/app/navigation/navigation.component.html b/src/app/app/navigation/navigation.component.html index d1f7fbb9..213d6d94 100644 --- a/src/app/app/navigation/navigation.component.html +++ b/src/app/app/navigation/navigation.component.html @@ -3,7 +3,7 @@ menu