Browse Source

Update homepage-v5.sh

fix linting error
tteckster 2 năm trước cách đây
mục cha
commit
652df53f75
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      ct/homepage-v5.sh

+ 2 - 0
ct/homepage-v5.sh

@@ -327,6 +327,8 @@ fi
 cd /opt/homepage
 systemctl stop homepage
 git pull --force &>/dev/null
+sed -i 's/prowlarr: dynamic(() => import("\.\/prowlarr\/component")),/\/\/ &/' /opt/homepage/src/widgets/components.js
+rm -rf /opt/homepage/src/widgets/prowlarr/component.jsx
 pnpm install &>/dev/null
 pnpm build &>/dev/null
 systemctl start homepage