Update dependencies, fix bug with share button.

This commit is contained in:
wearrrrr 2024-04-29 13:14:34 -05:00
parent d9113c3c13
commit a88c5993b0
3 changed files with 1923 additions and 4680 deletions

View file

@ -12,29 +12,29 @@
},
"dependencies": {
"@astrojs/node": "^8.2.5",
"@astrojs/sitemap": "^3.1.2",
"@mercuryworkshop/bare-mux": "^1.0.7",
"@astrojs/sitemap": "^3.1.4",
"@mercuryworkshop/bare-mux": "^1.0.9",
"@mercuryworkshop/epoxy-transport": "^1.1.0",
"@mercuryworkshop/libcurl-transport": "^1.3.1",
"@titaniumnetwork-dev/ultraviolet": "^3.0.0",
"@titaniumnetwork-dev/ultraviolet": "^3.1.0",
"@tomphttp/bare-server-node": "^2.0.3",
"astro": "^4.4.1",
"astro": "^4.7.0",
"chalk": "^5.3.0",
"compression": "^1.7.4",
"cookie-parser": "^1.4.6",
"dotenv": "^16.3.1",
"express": "^4.18.2",
"dotenv": "^16.4.5",
"express": "^4.19.2",
"node-fetch": "^3.3.2",
"notyf": "^3.10.0",
"rammerhead": "https://github.com/NebulaServices/rammerhead/releases/download/rammerhead-1.2.41-nebula.8/rammerhead-1.2.41-nebula.7.tgz",
"wisp-server-node": "^1.0.2"
"wisp-server-node": "^1.0.6"
},
"devDependencies": {
"@babel/eslint-parser": "^7.23.10",
"@typescript-eslint/eslint-plugin": "^7.2.0",
"@typescript-eslint/parser": "^7.2.0",
"@babel/eslint-parser": "^7.24.1",
"@typescript-eslint/eslint-plugin": "^7.8.0",
"@typescript-eslint/parser": "^7.8.0",
"eslint": "^8.57.0",
"eslint-plugin-astro": "^0.31.4w",
"eslint-plugin-astro": "^0.31.4",
"prettier": "3.2.5",
"prettier-plugin-astro": "^0.13.0"
},

6578
pnpm-lock.yaml generated

File diff suppressed because it is too large Load diff

View file

@ -193,6 +193,7 @@
};
shareButton.onclick = () => {
let currentProxy = localStorage.getItem("alu__selectedProxy");
let proxyFrame = document.getElementById('proxy-frame') as HTMLIFrameElement;
if (currentProxy && JSON.parse(currentProxy).value === "rammerhead") {
navigator.clipboard.writeText(
window.location.origin +
@ -203,7 +204,7 @@
);
} else {
navigator.clipboard.writeText(
window.__uv$config.decodeUrl(iframe.src.split("/service/")[1])
window.__uv$config.decodeUrl(proxyFrame.contentWindow!.location.href.split('/service/')[1])
);
}
new Notyf({