Files
nixpkgs/pkgs/by-name/li/librechat/0003-upload-paths.patch
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

21 lines
1.0 KiB
Diff

diff --git a/api/config/paths.js b/api/config/paths.js
index 165e9e6..fc85083 100644
--- a/api/config/paths.js
+++ b/api/config/paths.js
@@ -2,13 +2,13 @@ const path = require('path');
module.exports = {
root: path.resolve(__dirname, '..', '..'),
- uploads: path.resolve(__dirname, '..', '..', 'uploads'),
+ uploads: path.resolve('.', 'uploads'),
clientPath: path.resolve(__dirname, '..', '..', 'client'),
dist: path.resolve(__dirname, '..', '..', 'client', 'dist'),
publicPath: path.resolve(__dirname, '..', '..', 'client', 'public'),
fonts: path.resolve(__dirname, '..', '..', 'client', 'public', 'fonts'),
assets: path.resolve(__dirname, '..', '..', 'client', 'public', 'assets'),
- imageOutput: path.resolve(__dirname, '..', '..', 'client', 'public', 'images'),
+ imageOutput: path.resolve('.', 'images'),
structuredTools: path.resolve(__dirname, '..', 'app', 'clients', 'tools', 'structured'),
pluginManifest: path.resolve(__dirname, '..', 'app', 'clients', 'tools', 'manifest.json'),
};