Index that kinda works and is backed by a database. Still lots to do.
This commit is contained in:
commit
8e169b1026
9 changed files with 477 additions and 0 deletions
10
app.py
Normal file
10
app.py
Normal file
|
@ -0,0 +1,10 @@
|
|||
from flask import Flask, make_response, jsonify
|
||||
|
||||
app = Flask(__name__)
|
||||
|
||||
@app.route('/_ping')
|
||||
@app.route('/v1/_ping')
|
||||
def ping():
|
||||
response = make_response('true', 200);
|
||||
response.headers['X-Docker-Registry-Version'] = '0.6.0'
|
||||
return response
|
Reference in a new issue