mirror of
https://github.com/QuiteAFancyEmerald/Holy-Unblocker.git
synced 2025-05-15 21:00:00 -04:00
update to uv v2
This commit is contained in:
parent
dd2d9c15e4
commit
f92ba67e72
27 changed files with 17 additions and 988 deletions
|
@ -11,7 +11,7 @@ import { createBareServer } from "@tomphttp/bare-server-node";
|
|||
import wisp from "wisp-server-node";
|
||||
import { epoxyPath } from "@mercuryworkshop/epoxy-transport";
|
||||
import { baremuxPath } from "@mercuryworkshop/bare-mux/node";
|
||||
import { uvPath } from "../bin/lib/index.cjs";
|
||||
import { uvPath } from "@titaniumnetwork-dev/ultraviolet";
|
||||
|
||||
const config = JSON.parse(
|
||||
await readFile(new URL("./config.json", import.meta.url))
|
||||
|
@ -24,11 +24,6 @@ router = express.Router(),
|
|||
bare = createBareServer("/bare/"),
|
||||
rh = createRammerhead();
|
||||
|
||||
app.get("/baremux/bare.cjs", (req, res) => {
|
||||
res.setHeader("Content-Type", "application/javascript");
|
||||
res.sendFile(path.join(baremuxPath, "bare.cjs"));
|
||||
});
|
||||
|
||||
const rammerheadScopes = [
|
||||
"/rammerhead.js",
|
||||
"/hammerhead.js",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue