mirror of
https://github.com/wolfswolke/DeathGarden_API_Rebirth.git
synced 2026-09-11 18:46:37 -05:00
Added basic www files. (robots.txt, security.txt, gpc.json)
This commit is contained in:
@@ -8,9 +8,25 @@ def index():
|
||||
return render_template("index.html")
|
||||
|
||||
|
||||
# @app.route('/debug/user/', methods=['GET'])
|
||||
# def debug_user():
|
||||
# return debug_user(False)
|
||||
@app.route('/robots.txt', methods=["GET"])
|
||||
def robots():
|
||||
return send_from_directory(app.static_folder, request.path[1:])
|
||||
|
||||
|
||||
@app.route('/.well-known/security.txt', methods=["GET"])
|
||||
def security():
|
||||
return send_from_directory(app.static_folder, request.path[1:])
|
||||
|
||||
|
||||
@app.route('/.well-known/gpc.json', methods=["GET"])
|
||||
def gpc():
|
||||
return send_from_directory(app.static_folder, request.path[1:])
|
||||
|
||||
|
||||
@app.route('/.well-known/dnt-policy.txt', methods=["GET"])
|
||||
def dnt():
|
||||
return send_from_directory(app.static_folder, request.path[1:])
|
||||
|
||||
|
||||
@app.route('/debug/user/', methods=['GET'], defaults={'steamid': None})
|
||||
@app.route('/debug/user/<steamid>', methods=['GET'])
|
||||
|
||||
7
src/static/.well-known/dnt-policy.txt
Normal file
7
src/static/.well-known/dnt-policy.txt
Normal file
@@ -0,0 +1,7 @@
|
||||
This is the Do Not Track (DNT) policy for our third-party gaming API.
|
||||
|
||||
We respect the Do Not Track signals sent by users' browsers. We do not track users who have enabled the DNT preference. However, please note that certain basic logging and tracking may still occur for essential operational purposes, such as monitoring server health and preventing abuse.
|
||||
|
||||
Rest assured that any data logged, including IP addresses and login timestamps, is solely for internal use and is not shared with any third parties. We prioritize user privacy and take appropriate measures to protect the data collected.
|
||||
|
||||
If you have any questions or concerns regarding our DNT policy or data privacy, please feel free to contact us at deathgardenrebirth@gmail.com.
|
||||
5
src/static/.well-known/gpc.json
Normal file
5
src/static/.well-known/gpc.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"title": "General Page Category",
|
||||
"category": "gaming",
|
||||
"purpose": "This is a third-party gaming API for the Deathgarden Bloodharvest rebirth Project."
|
||||
}
|
||||
5
src/static/.well-known/security.txt
Normal file
5
src/static/.well-known/security.txt
Normal file
@@ -0,0 +1,5 @@
|
||||
Contact: mailto:deathgardenrebirth@gmail.com
|
||||
Expires: 2025-12-31T23:00:00.000Z
|
||||
Preferred-Languages: en, de
|
||||
Canonical: https://api.zkwolf.com/.well-known/security.txt
|
||||
Canonical: https://api.bloodharvest-rebirth.com/.well-known/security.txt
|
||||
2
src/static/robots.txt
Normal file
2
src/static/robots.txt
Normal file
@@ -0,0 +1,2 @@
|
||||
User-Agent: *
|
||||
Disallow: /
|
||||
Reference in New Issue
Block a user