Skip to content

Commit b39b6bc

Browse files
author
belledw
committed
Resolved url http error
1 parent 80257e6 commit b39b6bc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

server/api/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@
150150

151151
# The url to serve images and other media
152152
if DEBUG:
153-
MEDIA_URL = "https://localhost:8000/media/"
153+
MEDIA_URL = "http://localhost:8000/media/"
154154
else:
155155
MEDIA_URL = f"https://{ALLOWED_HOSTS[0]}/media/"
156156

0 commit comments

Comments
 (0)