[bisq-network/bisq-markets] Redirect all requests to / to /api (#25)
wiz
notifications at github.com
Sun Feb 9 00:42:38 UTC 2020
wiz commented on this pull request.
> -function get_refresh_interval() {
-
- static $refresh = null;
- if( $refresh ) {
- return $refresh;
- }
-
- $get_refresh = @$_GET['refresh'];
- $cookie_refresh = @$_COOKIE['refresh'];
- if( (int)$get_refresh && $get_refresh != $cookie_refresh ) {
- setcookie("refresh", $get_refresh, strtotime('2032-01-01') );
- }
- $refresh = (int)$get_refresh ?: (int)$cookie_refresh;
- return $refresh && $refresh >= 60 ? $refresh : 60; // default to 60 secs. enforce 60 sec min.
-}
+ header("Location: https://markets.bisq.network/api/");
```suggestion
header("Location: https://bisq.network/markets");
```
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/bisq-markets/pull/25#pullrequestreview-355576810
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20200208/9b5b27d1/attachment.html>
More information about the bisq-github
mailing list