mirror of
https://github.com/Sea-Haven-Industries/shoc-frontend-new.git
synced 2026-09-30 08:03:13 +00:00
prod url flipped
This commit is contained in:
parent
65ec768e13
commit
1ce41dda83
3 changed files with 6 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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) => {
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
})
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue