Skip to content

Commit

Permalink
refactor: migrate from smc.ldne.xyz to smc-api.lodine.xyz
Browse files Browse the repository at this point in the history
  • Loading branch information
Nitrrine committed Dec 21, 2024
1 parent 078e96f commit d15259f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
web-ext-artifacts/
node_modules/
.env
2 changes: 1 addition & 1 deletion background.js
Original file line number Diff line number Diff line change
@@ -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 = {
Expand Down
4 changes: 2 additions & 2 deletions manifest.json
Original file line number Diff line number Diff line change
@@ -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.",

Expand All @@ -18,7 +18,7 @@

"permissions": ["tabs"],

"host_permissions": ["https://smc.ldne.xyz/*"],
"host_permissions": ["https://smc-api.lodine.xyz/*"],

"background": {
"scripts": ["background.js"]
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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"
Expand Down

0 comments on commit d15259f

Please sign in to comment.