9 lines
232 B
Python
9 lines
232 B
Python
from flask import Flask, make_response, jsonify
|
|
|
|
app = Flask("RecForever.NamerServer")
|
|
|
|
@app.route("/")
|
|
def root():
|
|
return jsonify({"api": "127.0.0.1:9902", "cdn": "127.0.0.1:9903", "auth": "127.0.0.1:9904"})
|
|
|
|
app.run(port=9901) |