diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ac10bdd..92191de 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,7 +26,7 @@ jobs: - name: Setup Python environment uses: actions/setup-python@v5 with: - python-version: '3.7' # Server has 3.5 + python-version: '3.8' # Server has 3.5 - name: Install SSH Key uses: shimataro/ssh-key-action@v1.3.0 diff --git a/app/__init__.py b/app/__init__.py index a1fc46c..210295a 100755 --- a/app/__init__.py +++ b/app/__init__.py @@ -344,6 +344,18 @@ def version(): return response #------------------------------------------------------------------------------ +@app.route("/supporters", methods=['GET']) +def supporters(): + patreons ='' + + if os.path.exists('patreons.txt'): + patreons = open('patreons.txt').read()#.splitlines() + + response = make_response(render_template('supporters.html', **locals())) + + return response +#------------------------------------------------------------------------------ + def getDbName(): return 'urls.db' #------------------------------------------------------------------------------ diff --git a/app/static/about.html b/app/static/about.html index c40768c..d499512 100644 --- a/app/static/about.html +++ b/app/static/about.html @@ -103,9 +103,7 @@

About

You can find the source of the web front-end and the tool C++ Insights on Github.

-

If you like to support the project, consider submitting - a patch. Another alternative is to become a Patreon - supporter.

+

If you like to support the project, checkout the supporters page.

Contact: andy at cppinsights.io