2024-10-16 07:48:00 -07:00
|
|
|
from flask import send_from_directory
|
2021-12-06 15:59:13 +00:00
|
|
|
|
|
|
|
|
from app.main import main
|
|
|
|
|
|
|
|
|
|
|
2023-08-25 09:12:23 -07:00
|
|
|
@main.route("/.well-known/security.txt", methods=["GET"])
|
|
|
|
|
@main.route("/security.txt", methods=["GET"])
|
2021-12-06 15:59:13 +00:00
|
|
|
def security_policy():
|
2024-10-16 07:48:00 -07:00
|
|
|
return send_from_directory(".well-known", "security.txt")
|