ArchiveTeam / seesaw-kit

Making a reusable toolkit for writing seesaw scripts
Other
69 stars 30 forks source link

Use window.location.protocol instead of hardcoding http #80

Closed z00nx closed 9 years ago

z00nx commented 9 years ago

If your instance of warrior is being proxied with ssl the web interface will break because this script expects to create a websocket over http. This can be fixed by using window.location.protocol which will return what protocol you are visiting the web interface(http or https)