Enhance custom.js to prompt for API key if missing and inject script tag
This commit is contained in:
1 parent
632328db88
commit
e56624d943
2 files changed
+14
-4
No files matched your search
+3
-2
@@ -35,5 +35,6 @@ COPY assets/custom.js /app/code/librechat/client/dist/assets/custom.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
|
||||
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
|
||||
Reference in new issue
Block a user