Inject custom2.js directly, remove old replace

This commit is contained in:
Nathan Schneider committed 2026-10-18 22:13:45 -06:00
1 parent ff54ed6680
commit e8c9bebd46
1 file changed
+1 -2
+1 -2
View File
@@ -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|<title>LibreChat</title>|<title>Inference Co‑op</title>|' /app/code/librechat/client/dist/index.html && \
sed -i '/<title>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