This commit is contained in:
Magnus Åhall 2024-12-04 16:16:03 +01:00
parent 13d0b15fd9
commit 9df85d9580
2 changed files with 4 additions and 1 deletions

View File

@ -81,7 +81,7 @@ class Tree extends Component {
})
return html`
<div id="tree">
<div id="logo"><img src="/images/${_VERSION}/logo.svg" /></div>
<div id="logo"><a href="/notes2"><img src="/images/${_VERSION}/logo.svg" /></a></div>
${renderedTreeTrunk}
</div>`
}//}}}

View File

@ -12,6 +12,9 @@ import 'preact/devtools'
import { NodeStore } from 'node_store'
import { Notes2 } from "/js/{{ .VERSION }}/notes2.mjs"
import { API } from 'api'
import { Sync } from 'sync'
window.Sync = Sync
if (!API.hasAuthenticationToken()) {
location.href = '/login'