diff --git a/server.go b/server.go index f920e57..2606c6b 100644 --- a/server.go +++ b/server.go @@ -167,9 +167,11 @@ func (s *Server) ViewHandler() httprouter.Handle { struct { ID string URL string + Ori string }{ ID: u.ID, URL: fullURL.String(), + Ori: u.URL, }, ) } diff --git a/templates/edit.html b/templates/edit.html index 4ae9379..c3adb33 100644 --- a/templates/edit.html +++ b/templates/edit.html @@ -6,8 +6,8 @@