保存现有功能 增加域名和添加时间关联
This commit is contained in:
@@ -46,7 +46,7 @@ def create_app():
|
|||||||
domains = get_allowed_domains()
|
domains = get_allowed_domains()
|
||||||
return jsonify(domains), 200
|
return jsonify(domains), 200
|
||||||
|
|
||||||
@app.route('/allowed_domains_with_time', methods=['GET'])
|
@app.route('/allowed_domains/list_with_time', methods=['GET'])
|
||||||
def list_domains_with_time():
|
def list_domains_with_time():
|
||||||
domains_with_time = get_allowed_domains_with_time()
|
domains_with_time = get_allowed_domains_with_time()
|
||||||
return jsonify(domains_with_time), 200
|
return jsonify(domains_with_time), 200
|
||||||
|
|||||||
Reference in New Issue
Block a user