Merge #241 Fix frontend's context

This commit is contained in:
Filip Valder
2016-12-07 10:28:41 +00:00
2 changed files with 1 additions and 1 deletions

View File

@@ -15,7 +15,6 @@ class BaseConfiguration(object):
dbdir, 'module_build_service.db'))
SQLALCHEMY_TRACK_MODIFICATIONS = True
# Where we should run when running "manage.py runssl" directly.
SERVER_NAME = 'localhost'
HOST = '127.0.0.1'
PORT = 5000

View File

@@ -100,6 +100,7 @@ def testpdc():
def upgradedb():
""" Upgrades the database schema to the latest revision
"""
app.config["SERVER_NAME"] = 'localhost'
# TODO: configurable?
migrations_dir = os.path.join(os.path.abspath(os.path.dirname(__file__)),
'migrations')