From d15259f1f408ece7b480dc563a3df0c2c6c2100b Mon Sep 17 00:00:00 2001 From: Nitrrine Date: Sat, 21 Dec 2024 15:58:21 +0500 Subject: [PATCH] refactor: migrate from smc.ldne.xyz to smc-api.lodine.xyz --- .gitignore | 1 + background.js | 2 +- manifest.json | 4 ++-- package.json | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 3ec544c..67ef593 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ +web-ext-artifacts/ node_modules/ .env \ No newline at end of file diff --git a/background.js b/background.js index 5ebe025..0b0218a 100644 --- a/background.js +++ b/background.js @@ -1,6 +1,6 @@ // StopMalwareContent's Source Code for Firefox extension // Inspired from https://github.com/StopModReposts/Extension -const API_URL = "https://smc.ldne.xyz/sites"; +const API_URL = "https://smc-api.lodine.xyz/sites"; let cachedSites = []; let ignoreList = []; let lastBlockedSite = { diff --git a/manifest.json b/manifest.json index 08eac23..760eacb 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "manifest_version": 3, "name": "Stop Malware Content", - "version": "1.4.0", + "version": "1.4.1", "description": "Restricts access to harmful or unwanted web resources.", @@ -18,7 +18,7 @@ "permissions": ["tabs"], - "host_permissions": ["https://smc.ldne.xyz/*"], + "host_permissions": ["https://smc-api.lodine.xyz/*"], "background": { "scripts": ["background.js"] diff --git a/package.json b/package.json index 3672025..881a3d9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "smc-extension", - "version": "1.0.0", + "version": "1.4.1", "description": "Restricts access to harmful or unwanted web resources.", "scripts": { "test": "echo \"Error: no test specified\" && exit 1"