Replace custom.js with custom2.js in index.html

This commit is contained in:
Nathan Schneider committed 2026-10-18 22:05:03 -06:00
1 parent 3206fba5b3
commit ff4078b08f
1 file changed
+2 -1
+2 -1
View File
@@ -38,4 +38,5 @@ COPY assets/custom2.js /app/code/librechat/client/dist/assets/custom2.js
# rebuild marker 20261019-$(date +%s) # rebuild marker 20261019-$(date +%s)
RUN sed -i 's|<title>LibreChat</title>|<title>Inference Co‑op</title>|' /app/code/librechat/client/dist/index.html && \ 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 '/<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 '/<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