diff --git a/lib/index.js b/lib/index.js index 864a6998..ba9ca10e 100644 --- a/lib/index.js +++ b/lib/index.js @@ -245,9 +245,14 @@ export default function slackin ({ let { name } = slack.org let { active, total } = slack.users if (!name) return res.send(404) - let dom = splash({ coc, path, name, org, channels, active, total, large, iframe: true }) + let page = dom('html', + dom('head', + dom("script src=https://www.google.com/recaptcha/api.js") + ), + splash({ coc, path, name, org, channels, active, total, large, gcaptcha_sitekey, iframe: true }) + ) res.type('html') - res.send(dom.toHTML()) + res.send(page.toHTML()) }) app.get('/.well-known/acme-challenge/:id', (req, res) => {