initial commit:
This commit is contained in:
9
nameserver.py
Normal file
9
nameserver.py
Normal file
@@ -0,0 +1,9 @@
|
||||
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)
|
||||
Reference in New Issue
Block a user