diff --git a/debian/patches/fix-embedded-js.patch b/debian/patches/fix-embedded-js.patch
index 0f063e6c028238f62e6c11f8356ca80843cd7bc4..fe5c22a6b4ba304c304964b6c753487387fee89c 100644
--- a/debian/patches/fix-embedded-js.patch
+++ b/debian/patches/fix-embedded-js.patch
@@ -1,3 +1,5 @@
+diff --git a/src/api/public/402.html b/src/api/public/402.html
+index 6f3891b..b1accb2 100644
 --- a/src/api/public/402.html
 +++ b/src/api/public/402.html
 @@ -5,7 +5,7 @@
@@ -5,10 +7,12 @@
    <title>Error 402</title>
    
 -  <link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.0/css/bootstrap.min.css">
-+  <link rel="stylesheet" href="css/bootstrap.min.css">
++  <link rel="stylesheet" href="/css/bootstrap.min.css">
    <style type="text/css">
      html,
      body {
+diff --git a/src/api/public/403.html b/src/api/public/403.html
+index eb732a2..17e9c41 100644
 --- a/src/api/public/403.html
 +++ b/src/api/public/403.html
 @@ -5,7 +5,7 @@
@@ -16,10 +20,12 @@
    <title>Error 403</title>
    
 -  <link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.0/css/bootstrap.min.css">
-+  <link rel="stylesheet" href="css/bootstrap.min.css">
++  <link rel="stylesheet" href="/css/bootstrap.min.css">
    <style type="text/css">
      html,
      body {
+diff --git a/src/api/public/404.html b/src/api/public/404.html
+index ea6d8b8..d0d4c59 100644
 --- a/src/api/public/404.html
 +++ b/src/api/public/404.html
 @@ -5,7 +5,7 @@
@@ -27,10 +33,12 @@
    <title>Error 404</title>
    
 -  <link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.0/css/bootstrap.min.css">
-+  <link rel="stylesheet" href="css/bootstrap.min.css">
++  <link rel="stylesheet" href="/css/bootstrap.min.css">
    <style type="text/css">
      html,
      body {
+diff --git a/src/api/public/408.html b/src/api/public/408.html
+index 94bd91d..9ba919d 100644
 --- a/src/api/public/408.html
 +++ b/src/api/public/408.html
 @@ -5,7 +5,7 @@
@@ -38,10 +46,12 @@
    <title>Error 408</title>
    
 -  <link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.0/css/bootstrap.min.css">
-+  <link rel="stylesheet" href="css/bootstrap.min.css">
++  <link rel="stylesheet" href="/css/bootstrap.min.css">
    <style type="text/css">
      html,
      body {
+diff --git a/src/api/public/500.html b/src/api/public/500.html
+index 056fe80..d2ba2a0 100644
 --- a/src/api/public/500.html
 +++ b/src/api/public/500.html
 @@ -5,7 +5,7 @@
@@ -49,7 +59,7 @@
    <title>Error 500</title>
    
 -  <link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.0/css/bootstrap.min.css">
-+  <link rel="stylesheet" href="css/bootstrap.min.css">
++  <link rel="stylesheet" href="/css/bootstrap.min.css">
    <style type="text/css">
      html,
      body {