提交 e3aa78a9 编写于 作者: C Carlos Antonio da Silva

Merge pull request #8808 from tricknotes/use-absolute-path

Use absolute path [ci skip]
...@@ -59,7 +59,7 @@ ...@@ -59,7 +59,7 @@
#header { #header {
background-image: url("assets/rails.png"); background-image: url("/assets/rails.png");
background-repeat: no-repeat; background-repeat: no-repeat;
background-position: top left; background-position: top left;
height: 64px; height: 64px;
...@@ -178,7 +178,7 @@ ...@@ -178,7 +178,7 @@
if (info.innerHTML === '') { if (info.innerHTML === '') {
xhr = new XMLHttpRequest(); xhr = new XMLHttpRequest();
xhr.open("GET", "rails/info/properties", false); xhr.open("GET", "/rails/info/properties", false);
xhr.setRequestHeader("X-Requested-With", "XMLHttpRequest"); xhr.setRequestHeader("X-Requested-With", "XMLHttpRequest");
xhr.send(""); xhr.send("");
info.innerHTML = xhr.responseText; info.innerHTML = xhr.responseText;
...@@ -211,7 +211,7 @@ ...@@ -211,7 +211,7 @@
</div> </div>
<div id="about"> <div id="about">
<h3><a href="rails/info/properties" onclick="about(); return false">About your application&rsquo;s environment</a></h3> <h3><a href="/rails/info/properties" onclick="about(); return false">About your application&rsquo;s environment</a></h3>
<div id="about-content" style="display: none"></div> <div id="about-content" style="display: none"></div>
</div> </div>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册