Changeset 09cab2c
- Timestamp:
- Apr 19, 2020, 6:22:10 PM (7 years ago)
- Branches:
- debian/bullseye, master
- Children:
- 042a469
- Parents:
- 5b0a862
- Files:
-
- 2 edited
-
buildhelpers/codegen/templates/__main__.mustache (modified) (1 diff)
-
src/gnuboat/mapservice_impl/__init__.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
buildhelpers/codegen/templates/__main__.mustache
r5b0a862 r09cab2c 13 13 14 14 def main(): 15 setup_app('{{appName}}', config_object, template_folder = os.path.join(os.path.dirname(__file__), 'templates')) 16 app.run(host=application.config.get("HOST", "localhost"), port=application.config.get("PORT", {{serverPort}})) 15 template_folder = os.path.join(os.path.dirname(__file__), 'templates') 16 setup_app('{{appName}}', config_object, template_folder = template_folder) 17 app.run(host=application.config.get("HOST", "localhost"), port=application.config.get("PORT", {{serverPort}})) 17 18 18 19 if __name__ == '__main__': 19 main()20 main() -
src/gnuboat/mapservice_impl/__init__.py
r5b0a862 r09cab2c 49 49 config_object = load_config_object('Production') 50 50 51 app = connexion.App(__name__, specification_dir='../ openapi/')51 app = connexion.App(__name__, specification_dir='../mapservice/openapi/') 52 52 application = app.app 53 53 CORS(application)
Note:
See TracChangeset
for help on using the changeset viewer.
