Publishing A Flask Web App In Domino

Follow

Comments

1 comment

  • Manhcuongeic

    Hi,

    Thank for your article. I used your template to make a test flask web app. But when I added new route (for example version), it not working, only the root route work. How can I fix this issue. Thank.

    Here is my views.py. 

    Best regards.

    @app.route('/')
    def hello():
        return 'Hello'

    @app.route('/version')
    def get_version():
        return '0.1'
    0
    Comment actions Permalink

Please sign in to leave a comment.