Add a status page to /v1/ so that people don't get confused by the message that docker emits
This commit is contained in:
parent
4f0dced8e7
commit
e382fa1e58
4 changed files with 39 additions and 2 deletions
|
@ -71,6 +71,10 @@ def signin():
|
|||
def repository():
|
||||
return index('')
|
||||
|
||||
@app.route('/v1')
|
||||
@app.route('/v1/')
|
||||
def v1():
|
||||
return index('')
|
||||
|
||||
@app.route('/status', methods=['GET'])
|
||||
def status():
|
||||
|
|
Reference in a new issue