Added /api/ prefix to CAPTHA API URL in guestbook.pug.
This commit is contained in:
parent
5f80c42ad9
commit
9211abf71d
@ -30,7 +30,7 @@ block content
|
|||||||
small *Only I can see if set.
|
small *Only I can see if set.
|
||||||
span.captcha
|
span.captcha
|
||||||
input(type='hidden', name='captcha_id' value=captcha_id)
|
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)
|
input(type='text' maxlength='6' placeholder='CAPTCHA' name='captcha_answer' required)
|
||||||
small Valid for #[b 10] minutes.
|
small Valid for #[b 10] minutes.
|
||||||
input(type='submit' value='Send a post')
|
input(type='submit' value='Send a post')
|
||||||
|
Loading…
Reference in New Issue
Block a user