ça devrait marcher
continuous-integration/drone/push Build is passing Details

pull/98/head^2
Thomas Chazot 1 year ago
parent 93aa011b1d
commit 680d4681eb

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

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

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

@ -25,8 +25,7 @@ import { useTheme } from '../Style/ThemeContext';
import { useAuth } from '../Contexts/AuthContext';
import { useNavigate } from 'react-router-dom';
const basePath = process.env.BASEPATH || '';
const basePath = process.env.REACT_APP_BASE_PATH || '/containers/Crypteam-website';
// @ts-ignore
function AppNavbar({changeLocale}) {

@ -6,8 +6,7 @@ import './ErrorStyle.css';
import { FormattedMessage } from 'react-intl';
import { Button } from 'react-bootstrap';
const basePath = process.env.BASEPATH || '';
const basePath = process.env.REACT_APP_BASE_PATH || '/containers/Crypteam-website';
//@ts-ignore
function ErrorPage({ code = "", msg = "Something is wrong"}) {

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

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

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

@ -34,8 +34,7 @@ import Lobbies from './Lobbies';
let cptNavigation = 0
const basePath = process.env.BASEPATH || '';
const basePath = process.env.REACT_APP_BASE_PATH || '/containers/Crypteam-website';
function NewPlay() {

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

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

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

Loading…
Cancel
Save