Fixes in console.py
This commit is contained in:
parent
0ea518919d
commit
26c5247c99
3 changed files with 5 additions and 5 deletions
|
|
@ -26,7 +26,7 @@ def start():
|
|||
|
||||
# Options for deploy
|
||||
|
||||
parser.add_argument('--url', help='The http/https base url of the real proxy server. Example: https://www.exampledomain.com, default is http://localhost:8080', required=False)
|
||||
parser.add_argument('--url', help='The http/https base url of the real proxy server. Example: https://www.exampledomain.com, default is http://localhost:5000', required=False)
|
||||
|
||||
parser.add_argument('--folder', help='If you deploy in a subdirectory, set it, without beggining and ending slashes', required=False)
|
||||
|
||||
|
|
@ -172,11 +172,11 @@ def start():
|
|||
conf=conf.replace("application_root='/'", "application_root='"+base_url+"'")
|
||||
|
||||
if args.url==None:
|
||||
args.url='http://127.0.0.1:5000'
|
||||
args.url='http://localhost:5000'
|
||||
|
||||
domain_url=args.url
|
||||
|
||||
conf=conf.replace("domain_url='http://127.0.0.1:5000'", "domain_url='"+domain_url+"'")
|
||||
conf=conf.replace("domain_url='http://localhost:5000'", "domain_url='"+domain_url+"'")
|
||||
|
||||
#domain_url='http://localhost:8080'
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue