Change proxy path to /@/ instead of /proxy/

This commit is contained in:
youngchief btw ツ 2020-04-19 03:59:53 +00:00
parent 8cc9ea6d8c
commit bc572233af
1 changed files with 2 additions and 2 deletions

View File

@ -24,13 +24,13 @@ function miniCPU() {
// this must be one of the first app.use() calls and must not be on a subdirectory to work properly // this must be one of the first app.use() calls and must not be on a subdirectory to work properly
app.use(new Unblocker({ prefix: "/proxy/" })); app.use(new Unblocker({ prefix: "/proxy/" }));
app.get("/proxy/", function(req, res) { app.get("/@/", function(req, res) {
miniCPU(); miniCPU();
}); });
app.get("/", function(req, res) { app.get("/", function(req, res) {
res.send( res.send(
'<style>*{font-family: sans-serif;}</style><h1>ProxyChief</h1>Proxy Format: <b>/proxy/SITE-TO-VISIT</b><hr><p><strong>Made by <a href="https://github.com/youngchief-btw">youngchief btw ツ</a>, with ❤️</strong></p><hr><p><strong>This proxy is made to be the very best, and is super lightweight.</strong></p><hr><p><strong><em>Access using any of these <a href="/proxy/https://github.com/youngchief-btw/ProxyChief/blob/master/ListOfInstances.txt">URLs</a></em></strong></p>' '<style>*{font-family: sans-serif;}</style><h1>ProxyChief</h1>Proxy Format: <b>/@/SITE-TO-VISIT</b><hr><p><strong>Made by <a href="https://github.com/youngchief-btw">youngchief btw ツ</a>, with ❤️</strong></p><hr><p><strong>This proxy is made to be the very best, and is super lightweight.</strong></p><hr><p><strong><em>Access using any of these <a href="/proxy/https://github.com/youngchief-btw/ProxyChief/blob/master/ListOfInstances.txt">URLs</a></em></strong></p>'
); );
}); });