Skip to content

Commit

Permalink
Merge branch 'features/119-clean-up-migration-process' into stage
Browse files Browse the repository at this point in the history
  • Loading branch information
MelissaAutumn committed Oct 3, 2023
2 parents f010c35 + 8cb1090 commit 2f07461
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion backend/src/appointment/controller/mailer.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
from email.mime.text import MIMEText
from fastapi.templating import Jinja2Templates

templates = Jinja2Templates("src/templates/email")
templates = Jinja2Templates("src/appointment/templates/email")


def get_template(template_name) -> "jinja2.Template":
Expand Down
4 changes: 2 additions & 2 deletions frontend/docker/etc/nginx/conf.d/appointments.conf
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ server {
# Backend API proxy
location /api/v1 {
# Remove our fake /api/v1/ prefix for FastAPI
rewrite ^/api/v1/(.*)$ /$1 break;
proxy_pass http://127.0.0.1:5000;
rewrite ^/api/v1/(.*)$ $1 break;
proxy_pass http://127.0.0.1:5000/;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $http_host;
proxy_http_version 1.1;
Expand Down

0 comments on commit 2f07461

Please sign in to comment.