Fixed port of documentserver-example for linux

This commit is contained in:
KhromovNikita
2022-06-30 12:13:15 +03:00
parent 2a3b6d0ebb
commit d3d53b983a

View File

@ -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"