3 Commits

Author SHA1 Message Date
3d7e0e87c2 Removendo console.log
All checks were successful
Creates a docker image for production / Build the docker image (push) Successful in 36s
2025-02-05 12:06:28 -03:00
5b5500f6ac Usando npm ci
All checks were successful
Creates a docker image for production / Build the docker image (push) Successful in 48s
2025-02-05 11:56:28 -03:00
88ab3f9b33 🔧 (package.json): Update REACT_APP_API_URL in build script to point to the new API endpoint
All checks were successful
Creates a docker image for production / Build the docker image (push) Successful in 54s
2025-02-05 11:05:43 -03:00
4 changed files with 3 additions and 4 deletions

2
.env
View File

@@ -1,2 +1,2 @@
SKIP_PREFLIGHT_CHECK=true
REACT_APP_API_URL=http://127.0.0.1:8000
REACT_APP_API_URL=http://localhost:7788

View File

@@ -4,7 +4,7 @@ WORKDIR /app
COPY package*.json /app/
RUN npm install
RUN npm ci
COPY ./ /app/

View File

@@ -71,7 +71,7 @@
},
"scripts": {
"start": "node scripts/start.js",
"build": "REACT_APP_API_URL=https://minesapi.makecodes.dev node scripts/build.js",
"build": "REACT_APP_API_URL=https://api.mines.makecodes.dev node scripts/build.js",
"test": "node scripts/test.js"
},
"eslintConfig": {

View File

@@ -121,7 +121,6 @@ function App() {
const incrementElapsedTime = () => {
elapsed += 1;
console.log(elapsedTime, elapsed);
setElapsedTime(elapsed);
};