mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-06 03:26:59 +03:00
Only create blank config if it doesn't exist
This commit is contained in:
committed by
GitHub
parent
5139c7aaf0
commit
eee44e611b
@@ -4,9 +4,9 @@ echo 'Entrypoint script'
|
||||
cd /usr/src/app
|
||||
|
||||
# blank config, use defaults
|
||||
cat <<EOF > config.json
|
||||
test -e config.json || cat <<EOF > config.json
|
||||
{
|
||||
}
|
||||
EOF
|
||||
|
||||
node dist/src/index.js
|
||||
node dist/src/index.js
|
||||
|
||||
Reference in New Issue
Block a user