diff --git a/README.md b/README.md index b8c0ce5..09783e7 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ Also, check this out: [sefinek/Cloudflare-WAF-To-AbuseIPDB](https://github.com/s ## ✅ Features -1. A [`config.js`](default.config.js) file enabling easy configuration. +1. A [`config.js`](config.default.js) file enabling easy configuration. 2. A simple installer allowing quick integration deployment. 3. Integration with Discord Webhooks (coming soon): - Alerts in case of script errors @@ -61,7 +61,7 @@ cd ~ git clone https://github.com/sefinek/UFW-AbuseIPDB-Reporter.git cd UFW-AbuseIPDB-Reporter npm install -cp default.config.js config.js +cp config.default.js config.js sudo chmod 644 /var/log/ufw.log node . ^C diff --git a/default.config.js b/config.default.js similarity index 100% rename from default.config.js rename to config.default.js diff --git a/install.sh b/install.sh index 066c5bf..84fbc88 100644 --- a/install.sh +++ b/install.sh @@ -177,8 +177,8 @@ npm install -silent if [ -e config.js ]; then echo "✅ config.js already exists" else - echo "📑 Copying default.config.js to config.js..." - cp default.config.js config.js + echo "📑 Copying config.default.js to config.js..." + cp config.default.js config.js fi # Update config.js with API token, Server ID, and UFW log path