Use custom2.js without prompt
This commit is contained in:
1 parent
693030d8fe
commit
3206fba5b3
1 file changed
+2
-2
+2
-2
@@ -32,10 +32,10 @@ COPY assets/maskable-icon.png /app/code/librechat/client/dist/assets/maskable-ic
|
||||
# Custom stylesheet and optional helper JS
|
||||
COPY assets/custom.css /app/code/librechat/client/dist/assets/custom.css
|
||||
# rebuild trigger
|
||||
COPY assets/custom.js /app/code/librechat/client/dist/assets/custom.js
|
||||
COPY assets/custom2.js /app/code/librechat/client/dist/assets/custom2.js
|
||||
|
||||
# Inject branding into built HTML (dist) before image is packaged
|
||||
# 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/custom.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
|
||||
Reference in new issue
Block a user