Change proxy path to /@/ instead of /proxy/
This commit is contained in:
parent
8cc9ea6d8c
commit
bc572233af
|
@ -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
|
||||
app.use(new Unblocker({ prefix: "/proxy/" }));
|
||||
app.get("/proxy/", function(req, res) {
|
||||
app.get("/@/", function(req, res) {
|
||||
miniCPU();
|
||||
});
|
||||
|
||||
app.get("/", function(req, res) {
|
||||
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>'
|
||||
);
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue