mirror of
https://github.com/d0zingcat/RSSHub-python.git
synced 2026-05-14 07:26:44 +00:00
10 lines
227 B
Python
10 lines
227 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') |