diff --git a/frontend/angular.json b/frontend/angular.json index 3efaeee..7f5a4de 100644 --- a/frontend/angular.json +++ b/frontend/angular.json @@ -21,6 +21,11 @@ { "glob": "**/*", "input": "public" + }, + { + "glob": "**/*", + "input": "src/assets", + "output": "assets" } ], "styles": [ diff --git a/infra/docker/frontend/nginx.conf b/infra/docker/frontend/nginx.conf index cac4dcd..a14f8ee 100644 --- a/infra/docker/frontend/nginx.conf +++ b/infra/docker/frontend/nginx.conf @@ -5,6 +5,10 @@ server { root /usr/share/nginx/html; index index.html; + location /assets/ { + try_files $uri =404; + } + location / { try_files $uri $uri/ /index.html; }