prod url flipped

This commit is contained in:
npalOmega 2026-03-30 13:39:32 -05:00
parent 65ec768e13
commit 1ce41dda83
3 changed files with 6 additions and 6 deletions

View file

@ -3,10 +3,10 @@
# Backend API Base URL (without /api suffix)
# For local development, this should point to your ASP.NET Core API
REACT_APP_API_URL=http://localhost:5000
#REACT_APP_API_URL=http://localhost:5000
# For production, update to your production API URL
# REACT_APP_API_URL=https://api.seahavenindustries.com
REACT_APP_API_URL=https://api.seahavenindustries.com
# Note: The /api prefix is added in the service files
# Example: ${REACT_APP_API_URL}/api/Authentication/login

View file

@ -8,8 +8,8 @@ export const API_SUCCESS_MESSAGE =
export const API_DELETE_SUCCESS_MESSAGE =
"Item is deleted";
//export const API_URL = "http://console.seahavenind.com/api";
export const API_URL = "https://localhost:7195/api";
export const API_URL = "http://console.seahavenind.com/api";
//export const API_URL = "https://localhost:7195/api";
export const form_text_builder = (mode) => {

View file

@ -4,8 +4,8 @@ module.exports = function(app) {
app.use(
'/api',
createProxyMiddleware({
//target: 'http://console.seahavenind.com',
target: 'https://localhost:7195',
target: 'http://console.seahavenind.com',
//target: 'https://localhost:7195',
changeOrigin: true,
})
);