Changeset 09cab2c


Ignore:
Timestamp:
Apr 19, 2020, 6:22:10 PM (7 years ago)
Author:
Joachim Langenbach <joachim.langenbach@…>
Branches:
debian/bullseye, master
Children:
042a469
Parents:
5b0a862
Message:

Fixed definitions for template and openapi-spec folders

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • buildhelpers/codegen/templates/__main__.mustache

    r5b0a862 r09cab2c  
    1313
    1414def 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}}))
    1718
    1819if __name__ == '__main__':
    19         main()
     20    main()
  • src/gnuboat/mapservice_impl/__init__.py

    r5b0a862 r09cab2c  
    4949    config_object = load_config_object('Production')
    5050
    51 app = connexion.App(__name__, specification_dir='../openapi/')
     51app = connexion.App(__name__, specification_dir='../mapservice/openapi/')
    5252application = app.app
    5353CORS(application)
Note: See TracChangeset for help on using the changeset viewer.