[feature] add client.machineIp to UI and static tailwind library

This commit is contained in:
ElevenNotes
2025-02-20 13:59:56 +01:00
parent 0ad0cd2171
commit cabd8fd912
3 changed files with 24 additions and 12 deletions

View File

@@ -8,14 +8,17 @@
# apply correct style
rm -rf /opt/py-kms/templates
TEMPLATE_DIR=${APP_ROOT}/.default/templates
rm -rf /opt/py-kms/static
TEMPLATE_DIR=${APP_ROOT}/.default/styles
case ${KMS_GUI_STYLE} in
py-kms)
ln -s ${TEMPLATE_DIR}/py-kms /opt/py-kms/templates
ln -s ${TEMPLATE_DIR}/py-kms/templates /opt/py-kms/templates
ln -s ${TEMPLATE_DIR}/py-kms/static /opt/py-kms/static
eleven log info "using ${KMS_GUI_STYLE} GUI style"
;;
*)
ln -s ${TEMPLATE_DIR}/custom-icon /opt/py-kms/templates
ln -s ${TEMPLATE_DIR}/custom-icon/templates /opt/py-kms/templates
ln -s ${TEMPLATE_DIR}/custom-icon/static /opt/py-kms/static
eleven log info "using default GUI style"
;;
esac