diff --git a/pyproject.toml b/pyproject.toml index c5c792b..792df3c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,7 +12,7 @@ dependencies = [ "typer[all]", "rich", "openai", - "jinja2", + "jinja2>=3.1.5", "pyyaml", ] diff --git a/web/api/roast.py b/web/api/roast.py index ba3b1c9..ce8b6e0 100644 --- a/web/api/roast.py +++ b/web/api/roast.py @@ -1,3 +1,4 @@ +import base64 import json import os import re @@ -589,7 +590,7 @@ def download_github_archive(owner: str, repo: str, ref: str, dest: str) -> str: # ============================================================ ALLOWED_ORIGINS = { - "https://roast-web-six.vercel.app", + "https://roast-my-code-five.vercel.app", "http://localhost:3000", "http://127.0.0.1:3000", } diff --git a/web/requirements.txt b/web/requirements.txt index b212575..0cd337e 100644 --- a/web/requirements.txt +++ b/web/requirements.txt @@ -1,5 +1,5 @@ typer[all] rich openai -jinja2 +jinja2>=3.1.5 pyyaml