Skip to content

Commit 91a730b

Browse files
committed
Point production media at HTTPS always.
1 parent 12af8fb commit 91a730b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

readthedocs/settings/postgres.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
TEMPLATE_DEBUG = False
1717
CELERY_ALWAYS_EAGER = False
1818

19-
MEDIA_URL = '//media.readthedocs.org/'
20-
STATIC_URL = '//media.readthedocs.org/static/'
19+
MEDIA_URL = 'https://media.readthedocs.org/'
20+
STATIC_URL = 'https://media.readthedocs.org/static/'
2121
ADMIN_MEDIA_PREFIX = MEDIA_URL + 'admin/'
2222
SESSION_ENGINE = "django.contrib.sessions.backends.cached_db"
2323

0 commit comments

Comments
 (0)