replate http with https
This commit is contained in:
+1
-1
@@ -151,7 +151,7 @@ USE_TZ = True
|
|||||||
STATIC_URL = '/static/'
|
STATIC_URL = '/static/'
|
||||||
STATIC_ROOT = 'static/'
|
STATIC_ROOT = 'static/'
|
||||||
|
|
||||||
REMOTE_URL = "http://penracourses.org.uk"
|
REMOTE_URL = "https://penracourses.org.uk"
|
||||||
#
|
#
|
||||||
#if DEBUG:
|
#if DEBUG:
|
||||||
# STATIC_URL = REMOTE_URL + STATIC_URL
|
# STATIC_URL = REMOTE_URL + STATIC_URL
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
{% for image in question.images.all %}
|
{% for image in question.images.all %}
|
||||||
<span class="image-block">
|
<span class="image-block">
|
||||||
Image {{ forloop.counter }}{% if image.feedback_image %} [feedback image]{% endif %}:
|
Image {{ forloop.counter }}{% if image.feedback_image %} [feedback image]{% endif %}:
|
||||||
<div class="dicom-image rapid-img {% if image.feedback_image %}feedback-img{% endif %}" data-url="http://penracourses.org.uk{{ image.image.url}}"></div>
|
<div class="dicom-image rapid-img {% if image.feedback_image %}feedback-img{% endif %}" data-url="https://penracourses.org.uk{{ image.image.url}}"></div>
|
||||||
</span>
|
</span>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user