Inject custom2.js directly, remove old replace
This commit is contained in:
1 parent
ff54ed6680
commit
e8c9bebd46
1 file changed
+1
-2
+1
-2
@@ -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
|
||||
Reference in new issue
Block a user