mirror of
https://github.com/d0zingcat/RSSHub-python.git
synced 2026-05-13 15:09:18 +00:00
11 lines
238 B
Python
11 lines
238 B
Python
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')
|