github.com/m3db/m3@v1.5.1-0.20231129193456-75a402aa583b/src/ctl/public/index.html (about)

     1  <!doctype html>
     2  <html lang="en">
     3    <head>
     4      <title>Public</title>
     5    </head>
     6    <body>
     7      <noscript>You need to enable JavaScript to run this app.</noscript>
     8      <script type="text/javascript">
     9        var href = window.location.href;
    10        if (href.indexOf('?') !== -1) {
    11          href = href.substring(0, href.indexOf('?'));
    12        }
    13        if (href[href.length-1] === '/') {
    14          href = href.substring(0, href.length-1);
    15        }
    16        window.location.replace(href + '/r2/v1/swagger');
    17      </script>
    18    </body>
    19  </html>