Skip to content

Commit 98e4076

Browse files
update: hagezi dns blocklist "pro" fetched upon build
1 parent f4a5370 commit 98e4076

4 files changed

Lines changed: 12254 additions & 6610 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ Either use the button above to deploy to the deployment options above or type th
136136

137137
**THIS PROJECT REQUIRES NGINX NOT CADDY.**
138138

139-
Please ensure you are using Node 20.x as well:
139+
Please ensure you are using `Node 20.x` as well. `git` and `curl` are required dependencies:
140140

141141
```bash
142142
git clone https://github.com/QuiteAFancyEmerald/InvisiProxy.git
@@ -168,7 +168,7 @@ This website is hosted locally with Scramjet, Ultraviolet (Wisp, Bare-Mux, Epoxy
168168
### For security reasons when hosting with a reverse proxy PLEASE use NGINX not Caddy. This is due to wisp-js using loopbacks.
169169

170170
#### Detailed Setup (Ubuntu Example)
171-
You will need Node.js 20.x and Git installed; below is an example for Debian/Ubuntu setup.
171+
You will need `Node.js 20.x`, `curl` and `git` installed; below is an example for Debian/Ubuntu setup.
172172
<details>
173173

174174
For simplicity sake you can join the TN discord at discord.gg/unblock and request for mirror site links (that are restocked and unblocked).

package-lock.json

Lines changed: 13 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
"test": "npm run proxy-validator",
1717
"manual-start": "node run-command.mjs start",
1818
"kill": "node run-command.mjs stop kill",
19-
"build": "node run-command.mjs build && cd lib/rammerhead && npm run build",
19+
"fetch-adblock": "curl -o views/assets/txt/blacklist.txt https://raw.githubusercontent.com/hagezi/dns-blocklists/main/domains/pro.txt",
20+
"build": "npm run fetch-adblock && node run-command.mjs build && cd lib/rammerhead && npm run build",
2021
"clear": "node run-command.mjs clean",
2122
"clean": "node run-command.mjs clean format",
2223
"proxy-validator": "node proxyServiceValidator.js",

0 commit comments

Comments
 (0)