mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-17 09:23:48 +00:00
swarm: deleted time header and made redirect a relative path
This commit is contained in:
parent
f6305fc511
commit
f096d85872
1 changed files with 1 additions and 4 deletions
|
|
@ -182,9 +182,6 @@ var landingPageTemplate = template.Must(template.New("landingPage").Parse(`
|
|||
<div class="page-title">
|
||||
<h1>Welcome to Swarm</h1>
|
||||
</div>
|
||||
<div class="header-right">
|
||||
<div id="timestamp">{{.Timestamp}}</div>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<script type="text/javascript">
|
||||
|
|
@ -193,7 +190,7 @@ var landingPageTemplate = template.Must(template.New("landingPage").Parse(`
|
|||
if (page == "") {
|
||||
var page = "theswarm.eth"
|
||||
}
|
||||
var address = "http://" + location.host + "/bzz:/" + page;
|
||||
var address = "/bzz:/" + page;
|
||||
location.href = address;
|
||||
console.log(address)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue