Mercurial > public > sg101
view oembed/fixtures/providers.json @ 991:4aadaf3bc234
Added SITE_SCHEME setting.
Configure site scheme to be either http or https based on SITE_SCHEME setting.
Updated code to use it.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sun, 01 Nov 2015 15:56:05 -0600 |
parents | ee87ea74d46b |
children |
line wrap: on
line source
[ { "pk": 1, "model": "oembed.provider", "fields": { "api_endpoint": "http://www.youtube.com/oembed", "name": "YouTube", "url_regex": "^http://www\\.youtube\\.com/watch\\?v=\\S+$", "format": 0 } } ]