chore(jotts): update public note route 9ec76671
Steve · 2026-10-24 13:14 1 file(s) · +1 −1
apps/jotts/routes.go +1 −1
29 29
	mux.HandleFunc("GET /notes/new", requireSession(a.newNoteGetHandler))
30 30
	mux.HandleFunc("POST /notes", requireSession(a.createNoteHandler))
31 31
	mux.HandleFunc("GET /notes/{short_id}", requireSession(a.viewNoteHandler))
32 -
	mux.HandleFunc("GET /public/notes/{short_id}", a.viewPublicNoteHandler)
32 +
	mux.HandleFunc("GET /n/{short_id}", a.viewPublicNoteHandler)
33 33
	mux.HandleFunc("GET /notes/{short_id}/edit", requireSession(a.editNoteGetHandler))
34 34
	mux.HandleFunc("POST /notes/{short_id}", requireSession(a.updateNoteHandler))
35 35
	mux.HandleFunc("POST /notes/{short_id}/delete", requireSession(a.deleteNoteHandler))