Modify run_server.py

pull/530/head
ibuler 2016-09-04 19:10:28 +08:00
parent 3972bd3ff3
commit 246fcb8efa
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ apps_dir = os.path.join(BASE_DIR, 'apps')
def start_django():
http_host = CONFIG.HTTP_LISTEN_HOST or 'locahost'
http_host = CONFIG.HTTP_LISTEN_HOST or '127.0.0.1'
http_port = CONFIG.HTTP_LISTEN_PORT or '8080'
os.chdir(apps_dir)
print('start django')