Skip to content

Commit 769e541

Browse files
CopilotMickLesk
andauthored
Fix duplicate ORIGIN in .env for OpenArchiver install script (#9503)
* Initial plan * Fix duplicate ORIGIN in .env for OpenArchiver install script Co-authored-by: MickLesk <[email protected]> --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: MickLesk <[email protected]>
1 parent af9491d commit 769e541

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install/open-archiver-install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ sed -i "s|^STORAGE_LOCAL_ROOT_PATH=.*|STORAGE_LOCAL_ROOT_PATH=/opt/openarchiver-
8888
sed -i "s|^JWT_SECRET=.*|JWT_SECRET=$JWT_KEY|g" /opt/openarchiver/.env
8989
sed -i "s|^ENCRYPTION_KEY=.*|ENCRYPTION_KEY=$SECRET_KEY|g" /opt/openarchiver/.env
9090
sed -i "s|^TIKA_URL=.*|TIKA_URL=|g" /opt/openarchiver/.env
91-
echo "ORIGIN=http://$IP_ADDR:3000" >>/opt/openarchiver/.env
91+
sed -i "s|^ORIGIN=.*|ORIGIN=http://$IP_ADDR:3000|g" /opt/openarchiver/.env
9292
$STD pnpm install --shamefully-hoist --frozen-lockfile --prod=false
9393
$STD pnpm run build:oss
9494
$STD pnpm db:migrate

0 commit comments

Comments
 (0)