mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
use cdnjs instead of netdna
This commit is contained in:
@@ -19,7 +19,7 @@ public class BootstrapReference extends UrlResourceReference {
|
||||
|
||||
public BootstrapReference() {
|
||||
super(
|
||||
Url.parse("https://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.0/js/bootstrap.min.js"));
|
||||
Url.parse("https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/2.3.0/bootstrap.min.js"));
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
@@ -29,9 +29,9 @@ public class BootstrapReference extends UrlResourceReference {
|
||||
.asList(JavaScriptHeaderItem
|
||||
.forReference(JQueryReference.INSTANCE),
|
||||
CssHeaderItem.forReference(new UrlResourceReference(
|
||||
Url.parse("https://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.0/css/bootstrap-combined.no-icons.min.css"))),
|
||||
Url.parse("https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/2.3.0/css/bootstrap.no-icons.min.css"))),
|
||||
CssHeaderItem.forReference(new UrlResourceReference(
|
||||
Url.parse("https://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.0/css/bootstrap-responsive.min.css"))));
|
||||
Url.parse("https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/2.3.0/css/bootstrap-responsive.min.css"))));
|
||||
}
|
||||
|
||||
public static void renderHead(final IHeaderResponse response) {
|
||||
|
||||
@@ -13,7 +13,7 @@ public class FontAwesomeReference extends UrlResourceReference {
|
||||
|
||||
public FontAwesomeReference() {
|
||||
super(
|
||||
Url.parse("https://netdna.bootstrapcdn.com/font-awesome/3.0.2/css/font-awesome.css"));
|
||||
Url.parse("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/3.0.2/css/font-awesome.min.css"));
|
||||
}
|
||||
|
||||
public static void renderHead(final IHeaderResponse response) {
|
||||
|
||||
Reference in New Issue
Block a user