import { loadRuntimeConfig } from '../app/core/config.loader';

const runtimeConfig = loadRuntimeConfig();

export const environment = {
  production: true,
  apiBaseUrl: runtimeConfig.apiUrl || 'https://st.nowchess.janis-eccarius.de',
  accountServiceUrl: runtimeConfig.apiUrl || 'https://st.nowchess.janis-eccarius.de',
  wsBaseUrl: runtimeConfig.wsUrl || 'wss://st.nowchess.janis-eccarius.de',
  userWsBaseUrl: runtimeConfig.wsUrl || 'wss://st.nowchess.janis-eccarius.de',
  apiPath: '/api/board/game',
  tournamentServerUrl: 'http://141.37.123.132:8086'
};
