Skip to content

Commit

Permalink
Avoid double slashes in URLs relative to repository base
Browse files Browse the repository at this point in the history
  • Loading branch information
bastianeicher committed Sep 14, 2023
1 parent 45ae19f commit d1d2367
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions resources/catalog.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Language" content="en" />
<title>Zero Install - Software catalogue</title>
<link rel="stylesheet" href="@REPOSITORY_BASE_URL@/resources/catalog.css" type="text/css" />
<script src="@REPOSITORY_BASE_URL@/resources/list.min.js"></script>
<link rel="stylesheet" href="@REPOSITORY_BASE_URL@resources/catalog.css" type="text/css" />
<script src="@REPOSITORY_BASE_URL@resources/list.min.js"></script>
<script>
window.addEventListener("keydown", function (e) {
if (e.keyCode === 114 || (e.ctrlKey &amp;&amp; e.keyCode === 70)) {
Expand Down
4 changes: 2 additions & 2 deletions resources/catalog.xsl.de
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Language" content="de" />
<title>Zero Install - Software Katalog</title>
<link rel="stylesheet" href="@REPOSITORY_BASE_URL@/resources/catalog.css" type="text/css" />
<script src="@REPOSITORY_BASE_URL@/resources/list.min.js"></script>
<link rel="stylesheet" href="@REPOSITORY_BASE_URL@resources/catalog.css" type="text/css" />
<script src="@REPOSITORY_BASE_URL@resources/list.min.js"></script>
<script>
window.addEventListener("keydown", function (e) {
if (e.keyCode === 114 || (e.ctrlKey &amp;&amp; e.keyCode === 70)) {
Expand Down
2 changes: 1 addition & 1 deletion resources/feed.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ http://creativecommons.org/licenses/by-sa/2.5/
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta http-equiv="Content-Language" content="en"/>
<title><xsl:value-of select="zi:name"/></title>
<link rel="stylesheet" type="text/css" href="@REPOSITORY_BASE_URL@/resources/feed.css"/>
<link rel="stylesheet" type="text/css" href="@REPOSITORY_BASE_URL@resources/feed.css"/>
</head>
<body>
<div class="site">
Expand Down
2 changes: 1 addition & 1 deletion resources/feed.xsl.de
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ http://creativecommons.org/licenses/by-sa/2.5/
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta http-equiv="Content-Language" content="de"/>
<title><xsl:value-of select="zi:name"/></title>
<link rel="stylesheet" type="text/css" href="@REPOSITORY_BASE_URL@/resources/feed.css"/>
<link rel="stylesheet" type="text/css" href="@REPOSITORY_BASE_URL@resources/feed.css"/>
</head>
<body>
<div class="site">
Expand Down

0 comments on commit d1d2367

Please sign in to comment.