mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-01 04:29:29 +00:00
Remove /ip path
This commit is contained in:
@@ -31,8 +31,6 @@ const sanitizeBrew = (brew, accessType)=>{
|
|||||||
};
|
};
|
||||||
|
|
||||||
app.set('trust proxy', 1 /* number of proxies between user and server */)
|
app.set('trust proxy', 1 /* number of proxies between user and server */)
|
||||||
app.get('/ip', (request, response) => response.send(request.ip))
|
|
||||||
|
|
||||||
|
|
||||||
app.use('/', serveCompressedStaticAssets(`build`));
|
app.use('/', serveCompressedStaticAssets(`build`));
|
||||||
app.use(require('./middleware/content-negotiation.js'));
|
app.use(require('./middleware/content-negotiation.js'));
|
||||||
|
|||||||
Reference in New Issue
Block a user