From e8c9bebd464588ad0f6ac610d96958fdc946b573 Mon Sep 17 00:00:00 2001 From: Nathan Schneider Date: Sun, 18 Oct 2026 22:13:45 -0600 Subject: [PATCH] Inject custom2.js directly, remove old replace --- Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 6645691..71a4c8b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -38,5 +38,4 @@ COPY assets/custom2.js /app/code/librechat/client/dist/assets/custom2.js # rebuild marker 20261019-$(date +%s) RUN sed -i 's|LibreChat|Inference Co‑op|' /app/code/librechat/client/dist/index.html && \ sed -i '/Inference Co‑op<\/title>/a <link rel="stylesheet" href="assets/custom.css">' /app/code/librechat/client/dist/index.html && \ - sed -i '/<link rel="stylesheet" href="assets\/custom.css">/a <script src="assets/custom2.js"></script>' /app/code/librechat/client/dist/index.html && \ - sed -i 's|assets/custom.js|assets/custom2.js|' /app/code/librechat/client/dist/index.html + sed -i '/<link rel="stylesheet" href="assets\/custom.css">/a <script src="assets/custom2.js"></script>' /app/code/librechat/client/dist/index.html