Added basic www files. (robots.txt, security.txt, gpc.json)

This commit is contained in:
ZKWolf
2023-07-11 20:10:19 +02:00
parent 677a7b0d72
commit e8bc43ec1a
5 changed files with 38 additions and 3 deletions

View File

@@ -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'])

View 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.

View 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."
}

View 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
View File

@@ -0,0 +1,2 @@
User-Agent: *
Disallow: /