Permalink
Browse files

Fix several paths for non web-root installs

  • Loading branch information...
p-l- committed Feb 22, 2017
1 parent 77419dc commit b01809431c665c33f9322b83bad32bfaefac3800
Showing with 22 additions and 22 deletions.
  1. +20 −20 index.html
  2. +1 −1 js/app/collections/sounds.js
  3. +1 −1 js/app/main.js
View
@@ -8,25 +8,25 @@
<title>Kaamelott Soundboard</title>
- <link rel="apple-touch-icon" sizes="57x57" href="/favicons/apple-touch-icon-57x57.png">
- <link rel="apple-touch-icon" sizes="60x60" href="/favicons/apple-touch-icon-60x60.png">
- <link rel="apple-touch-icon" sizes="72x72" href="/favicons/apple-touch-icon-72x72.png">
- <link rel="apple-touch-icon" sizes="76x76" href="/favicons/apple-touch-icon-76x76.png">
- <link rel="apple-touch-icon" sizes="114x114" href="/favicons/apple-touch-icon-114x114.png">
- <link rel="apple-touch-icon" sizes="120x120" href="/favicons/apple-touch-icon-120x120.png">
- <link rel="apple-touch-icon" sizes="144x144" href="/favicons/apple-touch-icon-144x144.png">
- <link rel="apple-touch-icon" sizes="152x152" href="/favicons/apple-touch-icon-152x152.png">
- <link rel="apple-touch-icon" sizes="180x180" href="/favicons/apple-touch-icon-180x180.png">
- <link rel="icon" type="image/png" href="/favicons/favicon-32x32.png" sizes="32x32">
- <link rel="icon" type="image/png" href="/favicons/android-chrome-192x192.png" sizes="192x192">
- <link rel="icon" type="image/png" href="/favicons/favicon-96x96.png" sizes="96x96">
- <link rel="icon" type="image/png" href="/favicons/favicon-16x16.png" sizes="16x16">
- <link rel="manifest" href="/favicons/manifest.json">
- <link rel="mask-icon" href="/favicons/safari-pinned-tab.svg" color="#5bbad5">
- <link rel="shortcut icon" href="/favicons/favicon.ico">
+ <link rel="apple-touch-icon" sizes="57x57" href="favicons/apple-touch-icon-57x57.png">
+ <link rel="apple-touch-icon" sizes="60x60" href="favicons/apple-touch-icon-60x60.png">
+ <link rel="apple-touch-icon" sizes="72x72" href="favicons/apple-touch-icon-72x72.png">
+ <link rel="apple-touch-icon" sizes="76x76" href="favicons/apple-touch-icon-76x76.png">
+ <link rel="apple-touch-icon" sizes="114x114" href="favicons/apple-touch-icon-114x114.png">
+ <link rel="apple-touch-icon" sizes="120x120" href="favicons/apple-touch-icon-120x120.png">
+ <link rel="apple-touch-icon" sizes="144x144" href="favicons/apple-touch-icon-144x144.png">
+ <link rel="apple-touch-icon" sizes="152x152" href="favicons/apple-touch-icon-152x152.png">
+ <link rel="apple-touch-icon" sizes="180x180" href="favicons/apple-touch-icon-180x180.png">
+ <link rel="icon" type="image/png" href="favicons/favicon-32x32.png" sizes="32x32">
+ <link rel="icon" type="image/png" href="favicons/android-chrome-192x192.png" sizes="192x192">
+ <link rel="icon" type="image/png" href="favicons/favicon-96x96.png" sizes="96x96">
+ <link rel="icon" type="image/png" href="favicons/favicon-16x16.png" sizes="16x16">
+ <link rel="manifest" href="favicons/manifest.json">
+ <link rel="mask-icon" href="favicons/safari-pinned-tab.svg" color="#5bbad5">
+ <link rel="shortcut icon" href="favicons/favicon.ico">
<meta name="msapplication-TileColor" content="#da532c">
- <meta name="msapplication-TileImage" content="/favicons/mstile-144x144.png">
- <meta name="msapplication-config" content="/favicons/browserconfig.xml">
+ <meta name="msapplication-TileImage" content="favicons/mstile-144x144.png">
+ <meta name="msapplication-config" content="favicons/browserconfig.xml">
<meta name="theme-color" content="#3f3552">
<meta property="og:url" content="http://kaamelott-soundboard.2ec0b4.fr/">
@@ -45,7 +45,7 @@
<meta itemprop="description" content="Quelques-unes des meilleures répliques sonores de Kaamelott. C'était ça ou chante Sloubi.">
<meta itemprop="image" content="http://kaamelott-soundboard.2ec0b4.fr/img/ks.jpg">
- <link rel="stylesheet" href="/css/style.css" media="screen">
+ <link rel="stylesheet" href="css/style.css" media="screen">
</head>
<body>
<a class="ribbon" href="https://github.com/2ec0b4/kaamelott-soundboard" title="Contribuer">Contribuer</a>
@@ -74,6 +74,6 @@ <h1>Kaamelott Soundboard</h1>
<div id="modal"></div>
- <script data-main="/js/app/main" src="/bower_components/requirejs/require.js"></script>
+ <script data-main="js/app/main" src="bower_components/requirejs/require.js"></script>
</body>
</html>
@@ -7,7 +7,7 @@ define("collections/sounds", function(require) {
Sounds = Backbone.Collection.extend({
model: Sound,
- url: "/sounds/sounds.json",
+ url: "sounds/sounds.json",
comparator: function(a, b) {
var str1 = a.get("title"),
str2 = b.get("title");
View
@@ -1,5 +1,5 @@
require.config({
- baseUrl: "/js/app",
+ baseUrl: "js/app",
paths: {
backbone: "../../bower_components/backbone/backbone-min",
"backbone.radio": "../../bower_components/backbone.radio/build/backbone.radio",

0 comments on commit b018094

Please sign in to comment.