mirror of
https://github.com/Sea-Haven-Industries/shoc-frontend-new.git
synced 2026-10-07 16:19:01 +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)
|
# Backend API Base URL (without /api suffix)
|
||||||
# For local development, this should point to your ASP.NET Core API
|
# 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
|
# 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
|
# Note: The /api prefix is added in the service files
|
||||||
# Example: ${REACT_APP_API_URL}/api/Authentication/login
|
# Example: ${REACT_APP_API_URL}/api/Authentication/login
|
||||||
|
|
|
||||||
|
|
@ -8,8 +8,8 @@ export const API_SUCCESS_MESSAGE =
|
||||||
export const API_DELETE_SUCCESS_MESSAGE =
|
export const API_DELETE_SUCCESS_MESSAGE =
|
||||||
"Item is deleted";
|
"Item is deleted";
|
||||||
|
|
||||||
//export const API_URL = "http://console.seahavenind.com/api";
|
export const API_URL = "http://console.seahavenind.com/api";
|
||||||
export const API_URL = "https://localhost:7195/api";
|
//export const API_URL = "https://localhost:7195/api";
|
||||||
|
|
||||||
|
|
||||||
export const form_text_builder = (mode) => {
|
export const form_text_builder = (mode) => {
|
||||||
|
|
|
||||||
|
|
@ -4,8 +4,8 @@ module.exports = function(app) {
|
||||||
app.use(
|
app.use(
|
||||||
'/api',
|
'/api',
|
||||||
createProxyMiddleware({
|
createProxyMiddleware({
|
||||||
//target: 'http://console.seahavenind.com',
|
target: 'http://console.seahavenind.com',
|
||||||
target: 'https://localhost:7195',
|
//target: 'https://localhost:7195',
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue