change demo url

This commit is contained in:
hillerliao
2020-04-12 18:04:36 +08:00
parent a0bfac9f3e
commit ea01b359c1
5 changed files with 24 additions and 23 deletions

View File

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