From e226cc9430cecd02e93a4e14129b0c781dcf91fc Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sun, 22 Aug 2021 20:16:11 +0200 Subject: [PATCH] gfgf --- .github/FUNDING.yml | 2 +- files/__main__.py | 1 + files/templates/errors/patron.html | 4 ++-- files/templates/header.html | 4 ++-- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml index 157d05af5..c67eaf794 100644 --- a/.github/FUNDING.yml +++ b/.github/FUNDING.yml @@ -1,2 +1,2 @@ github: Aevann1 -custom: ["https://aevann.gumroad.com/l/tfcvri"] +custom: ["https://rdrama.gumroad.com/l/tfcvri"] diff --git a/files/__main__.py b/files/__main__.py index ca7afd5fb..4d9d2db33 100644 --- a/files/__main__.py +++ b/files/__main__.py @@ -31,6 +31,7 @@ app.url_map.strict_slashes = False app.config["SITE_NAME"]=environ.get("SITE_NAME").strip() app.config["COINS_NAME"]=environ.get("COINS_NAME").strip() +app.config["GUMROAD_LINK"]=environ.get("GUMROAD_LINK", "https://rdrama.gumroad.com/l/tfcvri").strip() app.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = False app.config['DATABASE_URL'] = environ.get("DATABASE_CONNECTION_POOL_URL",environ.get("DATABASE_URL")) diff --git a/files/templates/errors/patron.html b/files/templates/errors/patron.html index ca27038e6..6c8cae760 100644 --- a/files/templates/errors/patron.html +++ b/files/templates/errors/patron.html @@ -12,8 +12,8 @@

401 Not Authorized

-

This page is only available to patrons:

- https://aevann.gumroad.com/l/tfcvri +

This page is only available to paypigs:

+ {{'GUMROAD_LINK' | app_config}}
diff --git a/files/templates/header.html b/files/templates/header.html index 3f33d02c9..d05c3eef9 100644 --- a/files/templates/header.html +++ b/files/templates/header.html @@ -106,7 +106,7 @@ Changelog Source code Discord - Donate + Donate Subreddit Archives Contact us @@ -161,7 +161,7 @@ - +