From 758a5d90404b8c1af2506177e49463ef6dad826d Mon Sep 17 00:00:00 2001 From: hillerliao Date: Thu, 12 May 2022 22:36:36 +0800 Subject: [PATCH] delete wsgi --- vercel.json | 2 +- wsgi.py | 10 ---------- 2 files changed, 1 insertion(+), 11 deletions(-) delete mode 100644 wsgi.py 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