From 6a8d127dceea31981af98fad0737195cb661e15f Mon Sep 17 00:00:00 2001 From: Ian Gulliver Date: Wed, 25 Nov 2020 15:53:09 -0800 Subject: [PATCH] Handle paths in URLs --- present/present.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/present/present.py b/present/present.py index 2f74b51..19fb18f 100755 --- a/present/present.py +++ b/present/present.py @@ -30,7 +30,7 @@ room = qs['room'][0] presentUrl = urllib.parse.urlunparse([ url.scheme, url.netloc, - '/api/present', + url.path + 'api/present', url.params, urllib.parse.urlencode({'room_id': room}), url.fragment,