mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-17 00:40:14 +01:00
🚫🔍 feat: disallow search indexing (#1409)
* feat: disallow search indexing * Update index.js * Update .env.example * added middleware
This commit is contained in:
parent
c3d5a08b26
commit
bd4d23d314
4 changed files with 18 additions and 0 deletions
|
|
@ -12,6 +12,7 @@ const concurrentLimiter = require('./concurrentLimiter');
|
|||
const validateMessageReq = require('./validateMessageReq');
|
||||
const buildEndpointOption = require('./buildEndpointOption');
|
||||
const validateRegistration = require('./validateRegistration');
|
||||
const noIndex = require('./noIndex');
|
||||
|
||||
module.exports = {
|
||||
...abortMiddleware,
|
||||
|
|
@ -28,4 +29,5 @@ module.exports = {
|
|||
validateMessageReq,
|
||||
buildEndpointOption,
|
||||
validateRegistration,
|
||||
noIndex,
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue