We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 02befd1 commit be5496aCopy full SHA for be5496a
assets/php/index.php
@@ -633,13 +633,14 @@ function get_client_address() {
633
if (!$is_httpproxy) {
634
$relay_allow_methods = explode(',', strtoupper(RELAY_ALLOW_METHODS));
635
if (in_array($_SERVER['REQUEST_METHOD'], $relay_allow_methods)) {
636
+ $url = RELAY_PROXY_PASS . $_SERVER['REQUEST_URI'];
637
$result = relay_fetch_url(array(
- "url" => RELAY_PROXY_PASS . $_SERVER['REQUEST_URI']
638
+ "url" => $url
639
));
640
if ($result['success']) {
641
exit($result['result']['data']);
642
} else {
- exit(RELAY_PROXY_PASS . " is down.");
643
+ exit($url . " is down.");
644
}
645
646
exit("Not allowed method");
0 commit comments