Mercurial > libervia-web
comparison libervia/server/server.py @ 1369:b5f2565c4bac
server: don't check or connect service profile when `--build-only` is set
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 20 Nov 2020 18:12:04 +0100 |
parents | 9624c2a89a92 |
children | 2d6cfce0df6c |
comparison
equal
deleted
inserted
replaced
1368:9624c2a89a92 | 1369:b5f2565c4bac |
---|---|
1066 menu[''] = C.DEFAULT_MENU | 1066 menu[''] = C.DEFAULT_MENU |
1067 for site, value in self.options["menu_extra_json"].items(): | 1067 for site, value in self.options["menu_extra_json"].items(): |
1068 menu[site].extend(value) | 1068 menu[site].extend(value) |
1069 | 1069 |
1070 # service profile | 1070 # service profile |
1071 await self.checkAndConnectServiceProfile() | 1071 if not self.options('build-only'): |
1072 await self.checkAndConnectServiceProfile() | |
1072 | 1073 |
1073 # restricted bridge, the one used by browser code | 1074 # restricted bridge, the one used by browser code |
1074 self.restricted_bridge = RestrictedBridge(self) | 1075 self.restricted_bridge = RestrictedBridge(self) |
1075 | 1076 |
1076 # we create virtual hosts and import Libervia pages into them | 1077 # we create virtual hosts and import Libervia pages into them |