Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Merge pull request #228 from zanata/bug/font-asset-url-fix
Browse files Browse the repository at this point in the history
Remove http from font urls so it loads font over ssl when required.
  • Loading branch information
carlosmunoz committed Oct 16, 2013
2 parents 00c4e17 + 62f48fe commit ff9e4d2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Expand Up @@ -24,7 +24,7 @@
<link type="text/css" rel="stylesheet"
href="#{applicationConfiguration.webAssetsUrl}/assets/css/application.css"/>
<link type="text/css" rel="stylesheet"
href="http://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700,400italic"/>
href="//fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700,400italic"/>

<script src="codemirror-compressed.js" type="text/javascript"></script>
<link rel="stylesheet" type="text/css" href="codemirror.css"/>
Expand Down
2 changes: 1 addition & 1 deletion zanata-war/src/main/webapp/WEB-INF/template/template.xhtml
Expand Up @@ -43,7 +43,7 @@
<link type="text/css" rel="stylesheet"
href="#{request.contextPath}/resources/fontello/css/fontello.css"/>
<link type="text/css" rel="stylesheet"
href="http://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700,400italic"/>
href="//fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700,400italic"/>
<ui:insert name="head"/>
</h:head>

Expand Down
Expand Up @@ -23,7 +23,7 @@
<link type="text/css" rel="stylesheet"
href="#{applicationConfiguration.webAssetsStyleUrl}"/>
<link type="text/css" rel="stylesheet"
href="http://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700,400italic"/>
href="//fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700,400italic"/>
<ui:insert name="head"/>
</h:head>

Expand Down

0 comments on commit ff9e4d2

Please sign in to comment.