Removed port from base_url
This commit is contained in:
parent
a785baca79
commit
72e06e2c26
@ -6,4 +6,6 @@ def BASE_URL(request):
|
|||||||
scheme = 'https://'
|
scheme = 'https://'
|
||||||
else:
|
else:
|
||||||
scheme = 'http://'
|
scheme = 'http://'
|
||||||
return {'BASE_URL': scheme + request.get_host(), }
|
fullhost = request.get_host()
|
||||||
|
base = fullhost.split(":")[0]
|
||||||
|
return {'BASE_URL': scheme + base, }
|
Loading…
Reference in New Issue
Block a user