Skip to content

Commit

Permalink
Resolve favicon not found (#94)
Browse files Browse the repository at this point in the history
When some browsers load maproulette, the '/assets' route is sent to the API and results in the favicon not being found (http 404).
The deployment scripts shouldn't be sending '/assets' to the API and
should instead get the assets from the frontend container.

This resolves the missing favicon.
  • Loading branch information
ljdelight authored Jan 18, 2024
1 parent a293939 commit 79c329f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/nginx-config
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ server {
proxy_set_header Connection "upgrade";
proxy_http_version 1.1;
}
location ~ (/api/|/auth/|/docs/|/assets/) {
location ~ (/api/|/auth/|/docs/) {
proxy_pass http://api;

include mime.types;
Expand Down

0 comments on commit 79c329f

Please sign in to comment.