diff options
author | 2018-03-29 17:28:40 +0200 | |
---|---|---|
committer | 2018-03-29 16:28:40 +0100 | |
commit | 2ba6687936bb933f0d37caf41a71886c97c0c29b (patch) | |
tree | 94db9476ce6dceba2f7996577e9206e0a1c0cd45 | |
parent | Fix error handler management (diff) |
fixes path to static files in subdomains (#46)
-rw-r--r-- | Vagrant_bootstrap.sh | 1 | ||||
-rw-r--r-- | templates/main/base.html | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/Vagrant_bootstrap.sh b/Vagrant_bootstrap.sh index 97be3c71..307107d4 100644 --- a/Vagrant_bootstrap.sh +++ b/Vagrant_bootstrap.sh @@ -70,6 +70,7 @@ export RETHINKDB_DATABASE="database" export RETHINKDB_TABLE="table" export BOT_API_KEY="abcdefghijklmnopqrstuvwxyz" export TEMPLATES_AUTO_RELOAD="yes" +export PREFERRED_URL_SCHEME="http" alias python=python3.6 EOF diff --git a/templates/main/base.html b/templates/main/base.html index 635bafce..7e278a09 100644 --- a/templates/main/base.html +++ b/templates/main/base.html @@ -8,8 +8,8 @@ <script defer src="https://use.fontawesome.com/releases/v5.0.6/js/all.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/uikit/3.0.0-beta.39/js/uikit.min.js"></script> <link rel="shortcut icon" href="{{ url_for('static', filename='favicon.ico') }}"> - <link rel="stylesheet" href="/static/uikit_blurple.css"/> - <link rel="stylesheet" href="/static/style.css"/> + <link rel="stylesheet" href="{{ url_for('static', filename='uikit_blurple.css') }}"/> + <link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}"/> <!-- OpenGraph metadata --> <meta property="og:title" content="Python Discord | {% block og_title %}{% endblock %}"> |