well done
This commit is contained in:
parent
7203c176e8
commit
9820a691c1
12 changed files with 58 additions and 8 deletions
|
|
@ -51,6 +51,17 @@ app.get(/\/api:meta/, require('./meta'));
|
|||
app.get(/\/api:url/, require('./service/url-preview'));
|
||||
app.post(/\/api:rss/, require('./service/rss-proxy'));
|
||||
|
||||
/**
|
||||
* Serve config
|
||||
*/
|
||||
app.get('/config.json', (req, res) => {
|
||||
res.send({
|
||||
recaptcha: {
|
||||
siteKey: config.recaptcha.siteKey
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
/**
|
||||
* Subdomain
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue