mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-01-11 04:58:51 +01:00
- Add findPubliclyAccessibleResources function to PermissionService for bulk public resource queries - Add hasPublicPermission function to PermissionService for individual resource public permission checks - Update getAgentHandler to use hasPublicPermission for accurate individual agent public status - Replace instanceProjectId-based global checks with isPublic property from backend in client code - Add isPublic property to Agent type definition - Add NODE_TLS_REJECT_UNAUTHORIZED debug setting to VS Code launch config
18 lines
443 B
JSON
18 lines
443 B
JSON
{
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"type": "node",
|
|
"request": "launch",
|
|
"name": "Launch LibreChat (debug)",
|
|
"skipFiles": ["<node_internals>/**"],
|
|
"program": "${workspaceFolder}/api/server/index.js",
|
|
"env": {
|
|
"NODE_ENV": "production",
|
|
"NODE_TLS_REJECT_UNAUTHORIZED": "0"
|
|
},
|
|
"console": "integratedTerminal",
|
|
"envFile": "${workspaceFolder}/.env"
|
|
}
|
|
]
|
|
}
|