Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Moya_Logger: [13/11/2019 14:14:45] Request: https://portal-in-rivers-p4r-stg.rushstreetinteractive.com//api/geolocation/license
- Moya_Logger: [13/11/2019 14:14:45] Request Headers: ["X-Auth-Token": "9d0d3bbc7045451593e94a2287a7dcf3"]
- Moya_Logger: [13/11/2019 14:14:45] HTTP Request Method: GET
- 14:14:45.496 💚 DEBUG GeoComplyStore.updateLog():116 - -[GeoComplyClient applicationDidBecomeActive] Notification: UIApplicationDidBecomeActiveNotification
- Moya_Logger: [13/11/2019 14:14:45] Response: <NSHTTPURLResponse: 0x600001a4ea00> { URL: https://portal-in-rivers-p4r-stg.rushstreetinteractive.com//api/geolocation/license } { Status Code: 200, Headers {
- "Content-Encoding" = (
- gzip
- );
- "Content-Type" = (
- "text/html; charset=UTF-8"
- );
- Date = (
- "Wed, 13 Nov 2019 12:14:45 GMT"
- );
- Server = (
- nginx
- );
- "Transfer-Encoding" = (
- Identity
- );
- Vary = (
- "Accept-Encoding"
- );
- "X-Frame-Options" = (
- SAMEORIGIN
- );
- } }
- <!doctype html>
- <html lang="en">
- <head>
- <meta charset="UTF-8" />
- <title>Redirecting...</title>
- <meta name="description" content="Redirecting...">
- <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
- <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
- <link href="https://fonts.googleapis.com/css?family=Montserrat:400" rel="stylesheet" type="text/css" />
- <style>
- body,
- html {
- margin: 0;
- padding: 0;
- width: 100%;
- height: 100%;
- overflow: hidden;
- }
- body {
- font-family: 'Montserrat', sans-serif;
- background: url(./cms/assets/banner_bg_lg.jpg) center center no-repeat fixed;
- background-color: #cccccc;
- -webkit-background-size: cover;
- -moz-background-size: cover;
- -o-background-size: cover;
- background-size: cover;
- position: relative;
- }
- .hidden {
- display: none!important;
- }
- #fullpage-loader {
- position: fixed;
- left: 0;
- top: 0;
- z-index: 999;
- width: 100%;
- height: 100%;
- overflow: hidden;
- }
- #loader {
- position: absolute;
- top: 50%;
- left: 50%;
- margin-top: -60px;
- margin-left: -60px;
- border: 16px solid #fff; /* Light grey */
- border-top: 16px solid #265f92;
- border-bottom: 16px solid #265f92;
- border-radius: 50%;
- width: 120px;
- height: 120px;
- animation: spin 2s linear infinite;
- }
- @keyframes spin {
- 0% { transform: rotate(0deg); }
- 100% { transform: rotate(360deg); }
- }
- </style>
- </head>
- <body>
- <div id="fullpage-loader">
- <div id="loader"></div>
- </div>
- <script>
- (function () {
- try {
- // Map query parameters
- function getSearchParameters() {
- var params = {};
- if (location.search) {
- try {
- var parts = location.search.substring(1).split('&');
- for (var i = 0; i < parts.length; i++) {
- var nv = parts[i].split('=');
- if (!nv[0])
- continue;
- params[nv[0]] = nv[1] || true;
- }
- } catch (err) {
- }
- }
- return params;
- }
- var redirContent = [
- {
- "link": "500kpapickem",
- "redirectParams": [
- {
- "key": "page",
- "value": "leaderboard"
- }
- ],
- "anchor": ""
- }
- ];
- var initialParams = getSearchParameters();
- var currentPath = window.location.pathname;
- var redirParams = {};
- var foundAnchor = null;
- var buildURL = "./";
- // If we get back to the 404, this means there's possibly a subdirectory root,
- // let's just go to the root domain to avoid any further issues.
- // This might cause problems in skins where the PORTAL is in a subdirectory (e.g. SH C4F)
- if (initialParams.error_redir) {
- buildURL = "/";
- }
- // Get parameters
- for (var linkParam in initialParams) {
- if (initialParams.hasOwnProperty(linkParam)) {
- redirParams[linkParam] = initialParams[linkParam];
- }
- }
- // Set parameters from config
- for (var i = 0; i < redirContent.length; i++) {
- var redirParam = redirContent[i];
- if (currentPath.indexOf(redirParam.link) >= 0) {
- for (var k = 0; k < redirParam.redirectParams.length; k++) {
- var addParamData = redirParam.redirectParams[k];
- redirParams[addParamData.key] = addParamData.value;
- }
- redirParams.cRedir = (i + 1);
- // Add anchor if present
- if (redirParam.anchor) {
- foundAnchor = redirParam.anchor;
- }
- break;
- }
- }
- // Build final URL
- var addedItems = 0;
- for (var linkKey in redirParams) {
- if (redirParams.hasOwnProperty(linkKey)) {
- var delimiter = "&";
- if (addedItems === 0) {
- delimiter = "?";
- }
- buildURL += delimiter + linkKey + "=" + redirParams[linkKey];
- addedItems++;
- }
- }
- // Add location that was denied to be queried from Splunk
- if (!initialParams.error_redir) {
- var encodedErrorUrl = encodeURIComponent(window.location.pathname);
- buildURL += (addedItems > 0 ? "&" : "?") + "error_redir=" + encodedErrorUrl;
- }
- buildURL += (window.location.hash ? window.location.hash : (foundAnchor ? '#' + foundAnchor : ''));
- window.location.href = buildURL;
- } catch (err) {
- var origin;
- if (!window.location.origin) {
- origin = window.location.protocol + "//" + window.location.hostname + (window.location.port ? ':' + window.location.port : '');
- } else {
- origin = window.location.origin;
- }
- window.location.href = origin;
- }
- })();
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement