diff --git a/web/templates/guestbook.pug b/web/templates/guestbook.pug index 40eb225..cb82c81 100755 --- a/web/templates/guestbook.pug +++ b/web/templates/guestbook.pug @@ -22,7 +22,7 @@ block nav block content :go:func Guestbook(title, owner, captcha_id string, pages_count int64, entries []*guestbook.Entry, r *http.Request) - form#new-post(action='/guestbook', method='POST') + form#new-post(action='/api/guestbook', method='POST') input(type='text' maxlength='80' placeholder='Name (Anonymous if left blank)' name='name') input(type='text' maxlength='255' placeholder='Website (optional)' name='website') textarea(maxlength='4096' placeholder='Your message' name="message" required='')