well done
This commit is contained in:
@@ -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
|
||||
*/
|
||||
|
Reference in New Issue
Block a user