Commit 4a631e88 authored by fangzhipeng's avatar fangzhipeng

修复生成环境主机名称

parent d774f2f2
import socket
hostname = socket.gethostname()
isDebug = False
if (hostname == 'VM-151-99-ubuntu'):
if (hostname == 'VM-39-130-ubuntu'):
from config.env import production as envconfig
isDebug = False
else:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment