diff --git a/ct/openwebui.sh b/ct/openwebui.sh index 71b4431..96647a9 100644 --- a/ct/openwebui.sh +++ b/ct/openwebui.sh @@ -52,6 +52,7 @@ function update_script() { cd /opt/openwebui $STD npm install export NODE_OPTIONS="--max-old-space-size=3584" + sed -i "s/git rev-parse HEAD/openssl rand -hex 20/g" /opt/openwebui/svelte.config.js $STD npm run build cd ./backend $STD pip install -r requirements.txt -U diff --git a/install/openwebui-install.sh b/install/openwebui-install.sh index a2100f7..aebb130 100644 --- a/install/openwebui-install.sh +++ b/install/openwebui-install.sh @@ -49,6 +49,7 @@ ENABLE_OLLAMA_API=false EOF $STD npm install export NODE_OPTIONS="--max-old-space-size=3584" +sed -i "s/git rev-parse HEAD/openssl rand -hex 20/g" /opt/openwebui/svelte.config.js $STD npm run build msg_ok "Installed Open WebUI"