After February 20th 2018, all embed and API requests to strawpoll.me must use a secure connection (https).

This commit is contained in:
ccd0 2018-02-14 09:30:52 -08:00
parent d6af5a348b
commit 256050c060

View File

@ -384,7 +384,7 @@ Embedding =
style: 'border: 0; width: 600px; height: 406px;'
el: (a) ->
$.el 'iframe',
src: "//www.strawpoll.me/embed_1/#{a.dataset.uid}"
src: "https://www.strawpoll.me/embed_1/#{a.dataset.uid}"
,
key: 'TwitchTV'
regExp: /^\w+:\/\/(?:www\.|secure\.)?twitch\.tv\/(\w[^#\&\?]*)/