mirror of
https://github.com/d0zingcat/RSSHub-python.git
synced 2026-05-14 15:09:23 +00:00
change demo url
This commit is contained in:
@@ -11,7 +11,8 @@ from rsshub.utils import XMLResponse
|
||||
|
||||
def create_app(config_name=None):
|
||||
if config_name is None:
|
||||
config_name = os.getenv('FLASK_CONFIG', 'development')
|
||||
# config_name = os.getenv('FLASK_CONFIG', 'development')
|
||||
config_name = os.getenv('FLASK_CONFIG', 'production')
|
||||
|
||||
app = Flask(__name__)
|
||||
app.config.from_object(config[config_name])
|
||||
|
||||
Reference in New Issue
Block a user