Added /api/ prefix to CAPTHA API URL in guestbook.pug.

This commit is contained in:
Alexander Andreev 2022-10-21 02:11:30 +04:00
parent 5f80c42ad9
commit 9211abf71d
Signed by: Arav
GPG Key ID: 0388CC8FAA51063F

View File

@ -30,7 +30,7 @@ block content
small *Only I can see if set.
span.captcha
input(type='hidden', name='captcha_id' value=captcha_id)
img(src='/captcha/'+captcha_id+'/image', alt="CAPTCHA" width='160' height='40')
img(src='/api/captcha/'+captcha_id+'/image', alt="CAPTCHA" width='160' height='40')
input(type='text' maxlength='6' placeholder='CAPTCHA' name='captcha_answer' required)
small Valid for #[b 10] minutes.
input(type='submit' value='Send a post')