diff --git a/vercel.json b/vercel.json index e993ef8..2b0ffc0 100644 --- a/vercel.json +++ b/vercel.json @@ -2,7 +2,7 @@ "version": 2, "builds": [ { - "src": "./main.py", + "src": "main.py", "use": "@vercel/python" } ], diff --git a/wsgi.py b/wsgi.py deleted file mode 100644 index dc02663..0000000 --- a/wsgi.py +++ /dev/null @@ -1,10 +0,0 @@ -import os -from dotenv import load_dotenv - -dotenv_path = os.path.join(os.path.dirname(__file__), '.env') -if os.path.exists(dotenv_path): - load_dotenv(dotenv_path) - -from rsshub import create_app - -app = create_app('production') \ No newline at end of file