Skip to content

Commit 44e2249

Browse files
authored
Fix static styles href and cdn links
about local style assets, in my experience the custom style links should be prefixed with '/static/' to work properly. Also the old cdn urls seems not working, result with the following message: Fastly error: unknown domain: origin2.jsdelivr.net. Please check that this domain has been added to a service. Details: cache-cdg20782-CDG so, I've replaced them with the ones hosted in cloudflare.
1 parent e7ca441 commit 44e2249

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

demo/movie_svc/templates/shared/_layout.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@
1010
<title>MovieDB Service</title>
1111

1212
<!-- Bootstrap core CSS -->
13-
<link href="//oss.maxcdn.com/libs/twitter-bootstrap/3.0.3/css/bootstrap.min.css" rel="stylesheet">
13+
<link href="//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.0.3/css/bootstrap.min.css" rel="stylesheet">
1414

1515
<!-- Custom styles for this scaffold -->
16-
<link href="/css/theme.css" rel="stylesheet">
17-
<link href="/css/docs.css" rel="stylesheet">
16+
<link href="/static/css/theme.css" rel="stylesheet">
17+
<link href="/static/css/docs.css" rel="stylesheet">
1818

1919
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
2020
<!--[if lt IE 9]>
@@ -58,7 +58,7 @@
5858
<!-- Bootstrap core JavaScript
5959
================================================== -->
6060
<!-- Placed at the end of the document so the pages load faster -->
61-
<script src="//oss.maxcdn.com/libs/jquery/1.10.2/jquery.min.js"></script>
62-
<script src="//oss.maxcdn.com/libs/twitter-bootstrap/3.0.3/js/bootstrap.min.js"></script>
61+
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
62+
<script src="//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.0.3/js/bootstrap.min.js"></script>
6363
</body>
64-
</html>
64+
</html>

0 commit comments

Comments
 (0)