Skip to content

Commit

Permalink
set the / to get_version
Browse files Browse the repository at this point in the history
  • Loading branch information
lfoppiano committed Dec 26, 2023
1 parent a38f72c commit 67c5723
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions material_parsers/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,7 @@ def init(host='0.0.0.0', port='8080', config="config.json", development=False):
bottle.route('/classify/formula', method="POST")(app.classify_formula)

bottle.route('/version', method="GET")(app.get_version)
bottle.route('/', method="GET")(app.get_version)

if config and os.path.exists(config):

Expand Down

0 comments on commit 67c5723

Please sign in to comment.