delete wsgi

This commit is contained in:
hillerliao
2022-05-12 22:36:36 +08:00
parent 8aedbd8780
commit 758a5d9040
2 changed files with 1 additions and 11 deletions

View File

@@ -2,7 +2,7 @@
"version": 2,
"builds": [
{
"src": "./main.py",
"src": "main.py",
"use": "@vercel/python"
}
],

10
wsgi.py
View File

@@ -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')