зеркало из https://github.com/telerik/docs-seed.git
update nav URL to https + ignore SSL errors
This commit is contained in:
Родитель
00e72f5804
Коммит
6b45ffec71
|
@ -37,7 +37,7 @@ Jekyll::Hooks.register :site, :after_init do |site|
|
|||
}
|
||||
|
||||
platform = site.config['platform']
|
||||
html = open("http://cdn.telerik-web-assets.com/telerik-navigation/stable/nav-%s-csa-abs-component.html" % [navigations_map[platform]]).read
|
||||
html = open("https://cdn.telerik-web-assets.com/telerik-navigation/stable/nav-%s-csa-abs-component.html" % [navigations_map[platform]], {ssl_verify_mode: OpenSSL::SSL::VERIFY_NONE}).read
|
||||
File.write('./_includes/top-nav.html', html)
|
||||
|
||||
if site.config['other_platforms']
|
||||
|
|
Загрузка…
Ссылка в новой задаче