support relative root urls for deploy to subdirectories

This commit is contained in:
Zachary Chai
2017-02-07 14:43:18 -05:00
parent b09ec1fc69
commit 3db284b8bf
7 changed files with 16 additions and 6 deletions

View File

@ -47,6 +47,8 @@ class @Meeting
url = location.protocol + '//' + location.hostname
if location.port
url += ':' + location.port
if GreenLight.relative_root
url += GreenLight.relative_root
return url
# Sends the end meeting request