Fix: move to root

This commit is contained in:
eight 2017-09-24 17:18:38 +08:00
parent 24cd85688f
commit cb7aaa7111
2 changed files with 3 additions and 3 deletions

View File

@ -98,7 +98,7 @@ var usercssHelper = (function () {
function openInstallPage(tabId, request) {
// FIXME: openURL doesn't reuse old page?
const url = '/install-usercss/install-usercss.html' +
const url = '/install-usercss.html' +
'?updateUrl=' + encodeURIComponent(request.updateUrl) +
'&tabId=' + tabId;
const pending = openURL({url})

View File

@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Loading...</title>
<link rel="stylesheet" href="install-usercss.css">
<link rel="stylesheet" href="/install-usercss/install-usercss.css">
<script src="/js/messaging.js"></script>
<script src="/js/prefs.js"></script>
<script src="/js/dom.js"></script>
@ -79,6 +79,6 @@
</div>
</div>
</div>
<script src="install-usercss.js"></script>
<script src="/install-usercss/install-usercss.js"></script>
</body>
</html>