提交 c7f6081d 编写于 作者: R Ryunosuke SATO

Use absolute path

It is semantically correct than relative path.
上级 3e71f575
......@@ -59,7 +59,7 @@
#header {
background-image: url("assets/rails.png");
background-image: url("/assets/rails.png");
background-repeat: no-repeat;
background-position: top left;
height: 64px;
......@@ -178,7 +178,7 @@
if (info.innerHTML === '') {
xhr = new XMLHttpRequest();
xhr.open("GET", "rails/info/properties", false);
xhr.open("GET", "/rails/info/properties", false);
xhr.setRequestHeader("X-Requested-With", "XMLHttpRequest");
xhr.send("");
info.innerHTML = xhr.responseText;
......@@ -211,7 +211,7 @@
</div>
<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>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册