'use strict';
(function () {
  const ACCESS_KEY = 'RDF_1QxyBXsdcVnyqw3hAMcTsJUIsaEG24hN';
  const FIXED_SERVER = 'https://reinos.remodelarer.com';
  const isHttp = /^https?:$/i.test(window.location.protocol);
  const serverUrl = isHttp ? window.location.origin.replace(/\/+$/, '') : FIXED_SERVER;
  window.REINOS_CLIENT_CONFIG = Object.freeze({
    serverUrl,
    accessKey: ACCESS_KEY,
    multiplayerRequired: true,
    autoDetectOrigin: true
  });
}());
