mirror of
https://github.com/ONLYOFFICE/build_tools.git
synced 2026-02-10 20:45:38 +08:00
Fixed port of documentserver-example for linux
This commit is contained in:
@ -132,7 +132,10 @@ def make():
|
||||
|
||||
#site url
|
||||
example_config = {}
|
||||
example_config["port"] = 80
|
||||
if (base.host_platform() == "linux"):
|
||||
example_config["port"] = 3000
|
||||
else:
|
||||
example_config["port"] = 80
|
||||
example_config["siteUrl"] = "http://" + config.option("siteUrl") + ":8000/"
|
||||
example_config["apiUrl"] = "web-apps/apps/api/documents/api.js"
|
||||
example_config["preloaderUrl"] = "web-apps/apps/api/documents/cache-scripts.html"
|
||||
|
||||
Reference in New Issue
Block a user