mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2024-11-25 05:21:28 +00:00
Updated DKIM path
This commit is contained in:
parent
a2f3d298a6
commit
9bdb68d5a3
2
main.py
2
main.py
|
@ -13,7 +13,7 @@ def uname():
|
|||
return jsonify(uname)
|
||||
@app.route("/getDKIM", methods=["GET"])
|
||||
def getDkimKey():
|
||||
dkim = subprocess.check_output(["cat", os.getenv("DOMAIN")+".selector.txt"])
|
||||
dkim = subprocess.check_output(["cat", "/var/dkim/" + os.getenv("DOMAIN")+".selector.txt"])
|
||||
return jsonify(dkim)
|
||||
@app.route("/pythonVersion", methods=["GET"])
|
||||
def getPythonVersion():
|
||||
|
|
Loading…
Reference in a new issue