mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-17 13:32:15 +00:00
Remove hardcoded URL
This commit is contained in:
@@ -54,7 +54,7 @@ class EventOembed(generic.View):
|
||||
|
||||
def get(self, request, pk=None):
|
||||
|
||||
base_url = "https://rigs.nottinghamtec.co.uk"
|
||||
base_url = request.scheme + '://' + request.META['HTTP_HOST']
|
||||
full_url = base_url+reverse('event_embed', args=[pk])
|
||||
|
||||
data = {
|
||||
|
||||
Reference in New Issue
Block a user