Skip to content
Snippets Groups Projects
Verified Commit 71c2e343 authored by Andrej Shadura's avatar Andrej Shadura
Browse files

Fix paths in the fix-embedded-js.patch to absolute


Relative paths fail to load from non-root pages.

Signed-off-by: Andrej Shadura's avatarAndrej Shadura <andrew.shadura@collabora.co.uk>
parent 7127ddbe
Branches collabora/master fix-css
No related tags found
1 merge request!22Fix paths in the fix-embedded-js.patch to absolute
diff --git a/src/api/public/402.html b/src/api/public/402.html
index 6f3891b..b1accb2 100644
--- a/src/api/public/402.html --- a/src/api/public/402.html
+++ b/src/api/public/402.html +++ b/src/api/public/402.html
@@ -5,7 +5,7 @@ @@ -5,7 +5,7 @@
...@@ -5,10 +7,12 @@ ...@@ -5,10 +7,12 @@
<title>Error 402</title> <title>Error 402</title>
- <link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.0/css/bootstrap.min.css"> - <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"> <style type="text/css">
html, html,
body { 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 --- a/src/api/public/403.html
+++ b/src/api/public/403.html +++ b/src/api/public/403.html
@@ -5,7 +5,7 @@ @@ -5,7 +5,7 @@
...@@ -16,10 +20,12 @@ ...@@ -16,10 +20,12 @@
<title>Error 403</title> <title>Error 403</title>
- <link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.0/css/bootstrap.min.css"> - <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"> <style type="text/css">
html, html,
body { 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 --- a/src/api/public/404.html
+++ b/src/api/public/404.html +++ b/src/api/public/404.html
@@ -5,7 +5,7 @@ @@ -5,7 +5,7 @@
...@@ -27,10 +33,12 @@ ...@@ -27,10 +33,12 @@
<title>Error 404</title> <title>Error 404</title>
- <link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.0/css/bootstrap.min.css"> - <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"> <style type="text/css">
html, html,
body { 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 --- a/src/api/public/408.html
+++ b/src/api/public/408.html +++ b/src/api/public/408.html
@@ -5,7 +5,7 @@ @@ -5,7 +5,7 @@
...@@ -38,10 +46,12 @@ ...@@ -38,10 +46,12 @@
<title>Error 408</title> <title>Error 408</title>
- <link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.0/css/bootstrap.min.css"> - <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"> <style type="text/css">
html, html,
body { 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 --- a/src/api/public/500.html
+++ b/src/api/public/500.html +++ b/src/api/public/500.html
@@ -5,7 +5,7 @@ @@ -5,7 +5,7 @@
...@@ -49,7 +59,7 @@ ...@@ -49,7 +59,7 @@
<title>Error 500</title> <title>Error 500</title>
- <link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.0/css/bootstrap.min.css"> - <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"> <style type="text/css">
html, html,
body { body {
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment