From d4c392916c4ef86f7e3c97c09a98a9971ee1e70c Mon Sep 17 00:00:00 2001 From: Rushil Umaretiya Date: Mon, 15 Feb 2021 16:10:14 -0500 Subject: [PATCH] fix: fixed urls for prod --- config/settings.py | 2 ++ innovate/templates/innovate/confirm.html | 2 +- innovate/templates/innovate/index.html | 2 +- launchx/templates/launchx/base.html | 14 +++++++------- launchx/templatetags/launchx_extras.py | 6 +++++- 5 files changed, 16 insertions(+), 10 deletions(-) diff --git a/config/settings.py b/config/settings.py index cfb01ca..f1ca51b 100644 --- a/config/settings.py +++ b/config/settings.py @@ -150,8 +150,10 @@ STATIC_URL = '/static/' if DEBUG: STATIC_PREFIX = STATIC_URL + URL_PREFIX = '' else: STATIC_PREFIX = '/launchx' + STATIC_URL + URL_PREFIX = '/launchx' CRISPY_TEMPLATE_PACK = 'bootstrap4' diff --git a/innovate/templates/innovate/confirm.html b/innovate/templates/innovate/confirm.html index b551a62..94800ec 100644 --- a/innovate/templates/innovate/confirm.html +++ b/innovate/templates/innovate/confirm.html @@ -9,6 +9,6 @@

Congrats!

You've successfully signed up for InnovateTJ, please check your email for a confirmation. We'll see you there!

- +
{% endblock %} \ No newline at end of file diff --git a/innovate/templates/innovate/index.html b/innovate/templates/innovate/index.html index 90308ae..427b7e8 100644 --- a/innovate/templates/innovate/index.html +++ b/innovate/templates/innovate/index.html @@ -42,7 +42,7 @@

Sign up - +

{% endblock %} \ No newline at end of file diff --git a/launchx/templates/launchx/base.html b/launchx/templates/launchx/base.html index 3bc7932..21a72df 100644 --- a/launchx/templates/launchx/base.html +++ b/launchx/templates/launchx/base.html @@ -22,23 +22,23 @@