test variable d'envi
continuous-integration/drone/push Build is failing Details

pull/98/head^2
Thomas Chazot 1 year ago
parent 89f376801b
commit 93aa011b1d

@ -42,7 +42,7 @@ import messagesEn from './Translations/en.json';
import ErrorBoundary from './Error/ErrorBoundary'; import ErrorBoundary from './Error/ErrorBoundary';
import ErrorPage from './Error/ErrorPage'; import ErrorPage from './Error/ErrorPage';
const basePath = process.env.REACT_APP_BASE_PATH || ''; const basePath = process.env.BASEPATH || '';
const messages = { const messages = {
fr: messagesFr, fr: messagesFr,

@ -67,7 +67,7 @@ let cptBug = 0
let cptUseEffect = 0 let cptUseEffect = 0
let testPlayers: Player[] = [] let testPlayers: Player[] = []
const basePath = process.env.REACT_APP_BASE_PATH || ''; const basePath = process.env.BASEPATH || '';
const MyGraphComponent: React.FC<MyGraphComponentProps> = ({onNodeClick, handleShowTurnBar, handleTurnBarTextChange, playerTouched, setPlayerTouched, changecptTour, solo, isDaily, isEasy, addToHistory, showLast, setNetwork, setNetworkEnigme, setPlayerIndex, askedWrong, setAskedWrong, importToPdf, setImportToPdf}) => { const MyGraphComponent: React.FC<MyGraphComponentProps> = ({onNodeClick, handleShowTurnBar, handleTurnBarTextChange, playerTouched, setPlayerTouched, changecptTour, solo, isDaily, isEasy, addToHistory, showLast, setNetwork, setNetworkEnigme, setPlayerIndex, askedWrong, setAskedWrong, importToPdf, setImportToPdf}) => {

@ -20,7 +20,7 @@ interface LobbyContainerProps {
//? mettre un "nbplayermax" si le nombre de joueur max peut etre fixé ? //? mettre un "nbplayermax" si le nombre de joueur max peut etre fixé ?
} }
const basePath = process.env.REACT_APP_BASE_PATH || ''; const basePath = process.env.BASEPATH || '';
const LobbyContainer: React.FC<LobbyContainerProps> = ({roomNum, HeadPlayer, nbPlayer, setFirst, started}) => { const LobbyContainer: React.FC<LobbyContainerProps> = ({roomNum, HeadPlayer, nbPlayer, setFirst, started}) => {
const theme=useTheme(); const theme=useTheme();

@ -25,7 +25,7 @@ import { useTheme } from '../Style/ThemeContext';
import { useAuth } from '../Contexts/AuthContext'; import { useAuth } from '../Contexts/AuthContext';
import { useNavigate } from 'react-router-dom'; import { useNavigate } from 'react-router-dom';
const basePath = process.env.REACT_APP_BASE_PATH || ''; const basePath = process.env.BASEPATH || '';
// @ts-ignore // @ts-ignore

@ -6,7 +6,7 @@ import './ErrorStyle.css';
import { FormattedMessage } from 'react-intl'; import { FormattedMessage } from 'react-intl';
import { Button } from 'react-bootstrap'; import { Button } from 'react-bootstrap';
const basePath = process.env.REACT_APP_BASE_PATH || ''; const basePath = process.env.BASEPATH || '';
//@ts-ignore //@ts-ignore

@ -52,7 +52,7 @@ import Indice from '../model/Indices/Indice';
let cptNavigation = 0 let cptNavigation = 0
const basePath = process.env.REACT_APP_BASE_PATH || ''; const basePath = process.env.BASEPATH || '';
//@ts-ignore //@ts-ignore
const InGame = ({locale, changeLocale}) => { const InGame = ({locale, changeLocale}) => {

@ -50,7 +50,7 @@ import { DataSet } from 'vis-network';
let gameStarted = false let gameStarted = false
let firstLaunch = true let firstLaunch = true
const basePath = process.env.REACT_APP_BASE_PATH || ''; const basePath = process.env.BASEPATH || '';
function Lobby() { function Lobby() {

@ -5,7 +5,7 @@ import { useAuth } from '../Contexts/AuthContext';
import AuthService from '../services/AuthService'; import AuthService from '../services/AuthService';
import '../Style/Global.css'; import '../Style/Global.css';
const basePath = process.env.REACT_APP_BASE_PATH || ''; const basePath = process.env.BASEPATH || '';
const SignIn = () => { const SignIn = () => {
const navigate = useNavigate(); const navigate = useNavigate();

@ -34,7 +34,7 @@ import Lobbies from './Lobbies';
let cptNavigation = 0 let cptNavigation = 0
const basePath = process.env.REACT_APP_BASE_PATH || ''; const basePath = process.env.BASEPATH || '';

@ -32,7 +32,7 @@ import Info from '../res/icon/infoGreen.png';
let cptNavigation = 0 let cptNavigation = 0
const basePath = process.env.REACT_APP_BASE_PATH || ''; const basePath = process.env.BASEPATH || '';
function Play() { function Play() {

@ -25,7 +25,7 @@ import Form from 'react-bootstrap/Form';
import ProgressBar from 'react-bootstrap/ProgressBar'; import ProgressBar from 'react-bootstrap/ProgressBar';
const basePath = process.env.REACT_APP_BASE_PATH || ''; const basePath = process.env.BASEPATH || '';
//@ts-ignore //@ts-ignore
const Profile = () => { const Profile = () => {

@ -4,7 +4,7 @@ import { useNavigate } from 'react-router-dom';
import AuthService from '../services/AuthService'; import AuthService from '../services/AuthService';
import '../Style/Global.css'; import '../Style/Global.css';
const basePath = process.env.REACT_APP_BASE_PATH || ''; const basePath = process.env.BASEPATH || '';
const SignUp = () => { const SignUp = () => {

Loading…
Cancel
Save