Removed one more instance of /notes2

This commit is contained in:
Magnus Åhall 2026-05-29 09:07:04 +02:00
parent f3e16207a6
commit bbce399bc3
2 changed files with 4 additions and 4 deletions

View file

@ -275,9 +275,9 @@ func actionSyncFromServer(w http.ResponseWriter, r *http.Request) { // {{{
} }
/* /*
Log.Debug("/sync/from_server", "num_nodes", len(nodes), "maxSeq", maxSeq) Log.Debug("/sync/from_server", "num_nodes", len(nodes), "maxSeq", maxSeq)
foo, _ := json.Marshal(nodes) foo, _ := json.Marshal(nodes)
os.WriteFile(fmt.Sprintf("/tmp/nodes-%d.json", offset), foo, 0644) os.WriteFile(fmt.Sprintf("/tmp/nodes-%d.json", offset), foo, 0644)
*/ */
j, _ := json.Marshal(struct { j, _ := json.Marshal(struct {

View file

@ -184,7 +184,7 @@ export class App {
} }
if (!dontPush) if (!dontPush)
history.pushState({ nodeUUID }, '', `/notes2#${nodeUUID}`) history.pushState({ nodeUUID }, '', `/#${nodeUUID}`)
const node = nodeStore.node(nodeUUID) const node = nodeStore.node(nodeUUID)
node.reset() // any modifications are discarded. node.reset() // any modifications are discarded.