diff --git a/.env b/.env index b6fbd9d..ba2a0a7 100644 --- a/.env +++ b/.env @@ -1,4 +1,4 @@ -DIGIFI_PORT=5173 +APP_PORT=8096 # Social Links FACEBOOK_URL=https://www.facebook.com diff --git a/.env.development b/.env.development index 7f02815..8770d76 100644 --- a/.env.development +++ b/.env.development @@ -1,4 +1,4 @@ -DIGIFI_PORT=5173 +APP_PORT=8096 # Social Links VITE_FACEBOOK_URL=https://www.facebook.com diff --git a/.env.production b/.env.production index b6fbd9d..ba2a0a7 100644 --- a/.env.production +++ b/.env.production @@ -1,4 +1,4 @@ -DIGIFI_PORT=5173 +APP_PORT=8096 # Social Links FACEBOOK_URL=https://www.facebook.com diff --git a/docker-compose.yml b/docker-compose.yml index 89227b9..edb85b6 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,6 +1,6 @@ version: '3' services: - edutoken-www: + mermsoffice-www: build: context: . dockerfile: Dockerfile @@ -9,9 +9,10 @@ services: - ./:/app - '/app/node_modules' ports: - - 7076:5173 + - ${APP_PORT}:3000 expose: - "5173" + - "3000" extra_hosts: - digifi-apidev.chiefsoft.net:10.10.33.15 - backend.wrenchboard.api.test:10.10.33.15 @@ -27,4 +28,4 @@ networks: driver: bridge ipam: config: - - subnet: 172.11.56.0/24 \ No newline at end of file + - subnet: 172.15.56.0/24 \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 2215c93..efd3d71 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,8 +9,8 @@ "version": "0.1.0", "dependencies": { "cra-template": "1.2.0", - "react": "19.0.0", - "react-dom": "19.0.0", + "react": "^19.0.0", + "react-dom": "^19.0.0", "react-scripts": "5.0.1" } }, @@ -16132,9 +16132,9 @@ } }, "node_modules/typescript": { - "version": "5.7.3", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.7.3.tgz", - "integrity": "sha512-84MVSjMEHP+FQRPy3pX9sTVV/INIex71s9TL2Gm5FG/WG1SqXeKyZ0k7/blY/4FdOzI12CBy1vGc4og/eus0fw==", + "version": "4.9.5", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.9.5.tgz", + "integrity": "sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==", "license": "Apache-2.0", "peer": true, "bin": { @@ -16142,7 +16142,7 @@ "tsserver": "bin/tsserver" }, "engines": { - "node": ">=14.17" + "node": ">=4.2.0" } }, "node_modules/unbox-primitive": { diff --git a/src/index.js b/src/index.js index d563c0f..dec77da 100644 --- a/src/index.js +++ b/src/index.js @@ -2,7 +2,7 @@ import React from 'react'; import ReactDOM from 'react-dom/client'; import './index.css'; import App from './App'; -import reportWebVitals from './reportWebVitals'; +// import reportWebVitals from './reportWebVitals'; const root = ReactDOM.createRoot(document.getElementById('root')); root.render( @@ -14,4 +14,4 @@ root.render( // If you want to start measuring performance in your app, pass a function // to log results (for example: reportWebVitals(console.log)) // or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals -reportWebVitals(); +// reportWebVitals();