Reimported render_template in main, for development purposes for now, and fixed /api endpoint not working

This commit is contained in:
2025-01-23 10:32:18 +00:00
parent 3c61d6f888
commit e826311c34
2 changed files with 2 additions and 1 deletions

View File

@@ -39,6 +39,7 @@ http {
}
location /api/ {
rewrite ^/api/(.*)$ /$1 break;
proxy_pass http://web_server:5000; # flask-app is the name of the Flask container in docker-compose
}
}