Skip to content

Commit 889eba4

Browse files
committed
Added version to js/css assets URLs.
(in order to prevent some abusive caches to serve an obsolete version of these files when ZeroBin is upgraded.)
1 parent afb3844 commit 889eba4

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

tpl/page.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33
<title>ZeroBin</title>
44
<meta name="robots" content="noindex" />
55
<link type="text/css" rel="stylesheet" href="css/zerobin.css?{$VERSION|rawurlencode}#" />
6-
<script src="js/jquery.js#"></script>
7-
<script src="js/sjcl.js#"></script>
8-
<script src="js/base64.js#"></script>
9-
<script src="js/rawdeflate.js#"></script>
10-
<script src="js/rawinflate.js#"></script>
6+
<script src="js/jquery.js?{$VERSION|rawurlencode}#"></script>
7+
<script src="js/sjcl.js?{$VERSION|rawurlencode}#"></script>
8+
<script src="js/base64.js?{$VERSION|rawurlencode}#"></script>
9+
<script src="js/rawdeflate.js?{$VERSION|rawurlencode}#"></script>
10+
<script src="js/rawinflate.js?{$VERSION|rawurlencode}#"></script>
1111
<script src="js/zerobin.js?{$VERSION|rawurlencode}#"></script>
12-
<link type="text/css" rel="stylesheet" href="js/highlight.styles/monokai.css#">
13-
<script src="js/highlight.pack.js#"></script>
12+
<link type="text/css" rel="stylesheet" href="js/highlight.styles/monokai.css?{$VERSION|rawurlencode}#">
13+
<script src="js/highlight.pack.js?{$VERSION|rawurlencode}#"></script>
1414

1515
<!--[if lt IE 10]>
1616
<style> body {padding-left:60px;padding-right:60px;} div#ienotice {display:block;} </style>

0 commit comments

Comments
 (0)