B:BD[
3.130] → [
3.130:146]
return "OK"
data = {
"status": "ok",
"owner": app.config['OWNER'],
"app_name": app.config['APP_NAME']
}
return jsonify(data)
@app.route('/check', methods=['GET'])
def check_route():
# We will update statuses automatically later
statuses = {
"minecraft.net":"green",
"session.minecraft.net":"green",
"account.mojang.com":"green",
"authserver.mojang.com":"green",
"sessionserver.mojang.com":"green",
"api.mojang.com":"green",
"textures.minecraft.net":"green",
"mojang.com":"green"
}
return jsonify(statuses)