diff --git a/main.py b/main.py index aefa9d2..015261e 100644 --- a/main.py +++ b/main.py @@ -3,6 +3,7 @@ import os import json from datetime import datetime +from typing import Optional from fasthtml.common import * from dotenv import load_dotenv from supabase_client import supabase @@ -164,7 +165,7 @@ async def generateDevContainer(repo_url:str, regenerate=False): @rt("/", methods=["get"]) -async def get(repo_url: str): +async def get(repo_url: Optional[str]=None): if not repo_url: return home() try: