add deta.sh support

This commit is contained in:
hillerliao
2022-05-08 10:56:47 +08:00
parent 3324f8f790
commit 52ca4324f4
11 changed files with 283 additions and 360 deletions

10
main.py Normal file
View File

@@ -0,0 +1,10 @@
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')