diff --git a/files/routes/static.py b/files/routes/static.py index 4390dd2de..bd414da30 100644 --- a/files/routes/static.py +++ b/files/routes/static.py @@ -12,6 +12,12 @@ from files.classes.mod_logs import ACTIONTYPES, ACTIONTYPES2 site = environ.get("DOMAIN").strip() site_name = environ.get("SITE_NAME").strip() + +@app.get("/privacy") +@auth_desired +def privacy(v): + return render_template(f"privacy.html", v=v) + @app.get("/emojis") @auth_desired def emojis(v): diff --git a/privacy.html b/files/templates/privacy.html similarity index 98% rename from privacy.html rename to files/templates/privacy.html index 79b5d9d5a..527f3587d 100644 --- a/privacy.html +++ b/files/templates/privacy.html @@ -1,3 +1,15 @@ +{% extends "default.html" %} + +{% block title %} +
+ + +
Last updated: December 28, 2021
This Privacy Policy describes Our policies and procedures on the collection, use and disclosure of Your information when You use the Service and tells You about Your privacy rights and how the law protects You.
@@ -133,4 +145,5 @@By visiting this page on our website: https://rdrama.net/contact
Change how many posts appear on every page.