diff --git a/client/src/App.tsx b/client/src/App.tsx index 096ad99..f66ac4d 100644 --- a/client/src/App.tsx +++ b/client/src/App.tsx @@ -21,8 +21,12 @@ function App() { return ( - - + + diff --git a/server/src/config/environments/production.ts b/server/src/config/environments/production.ts index e29f2bd..b5c587e 100644 --- a/server/src/config/environments/production.ts +++ b/server/src/config/environments/production.ts @@ -18,7 +18,6 @@ module.exports = { server: { hostname: process.env.HOSTNAME || "127.0.0.1", port: process.env.PORT || 3001, - public_url: process.env.PUBLIC_URL || "https://presupuestos.uecko.com", }, admin: { diff --git a/server/src/infrastructure/express/app.ts b/server/src/infrastructure/express/app.ts index 6271759..160e782 100644 --- a/server/src/infrastructure/express/app.ts +++ b/server/src/infrastructure/express/app.ts @@ -55,7 +55,7 @@ app.use(passport.initialize()); configurePassportAuth(passport); // Express configuration -app.set("port", process.env.PORT ?? 3000); +app.set("port", process.env.PORT ?? 3001); // Public assets app.use("/assets", express.static(path.join(__dirname, "/public"))); diff --git a/stack.env b/stack.env index c135a2e..6b46c06 100644 --- a/stack.env +++ b/stack.env @@ -18,4 +18,5 @@ MYSQL_USER_PASSWORD=u8Ax5Nw3%sjd HOSTNAME=127.0.0.1 PORT=3001 -PUBLIC_URL=https://presupuestos.uecko.com \ No newline at end of file + +API_URL=https://presupuestos.uecko.com:13001 \ No newline at end of file