mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-09-22 06:00:56 +02:00
⬇️ refactor: Assistant File Downloads (#2364)
* refactor(getFiledownload): explicit accept of `application/octet-stream` * chore: test compose file * chore: test compose file fix * chore(files/download): add more logs * Fix proxy_pass URLs in nginx.conf * fix: proxy_pass URLs in nginx.conf to fix file downloads from URL * chore: move test compose file to utils dir * refactor(useFileDownload): simplify API request by passing `file_id` instead of `filepath`
This commit is contained in:
parent
cc71125fa1
commit
cb64b84846
6 changed files with 92 additions and 20 deletions
|
@ -14,12 +14,12 @@ server {
|
|||
# The default limits for image uploads as of 11/22/23 is 20MB/file, and 25MB/request
|
||||
client_max_body_size 25M;
|
||||
|
||||
location /api {
|
||||
proxy_pass http://api:3080/api;
|
||||
location /api/ {
|
||||
proxy_pass http://api:3080$request_uri;
|
||||
}
|
||||
|
||||
location / {
|
||||
proxy_pass http://api:3080;
|
||||
proxy_pass http://api:3080/;
|
||||
}
|
||||
|
||||
######################################## SSL ########################################
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue