diff --git a/src/constants.js b/src/constants.js index 693a88d..3b42cbd 100644 --- a/src/constants.js +++ b/src/constants.js @@ -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) => { diff --git a/src/setupProxy.js b/src/setupProxy.js index 12d3595..d939252 100644 --- a/src/setupProxy.js +++ b/src/setupProxy.js @@ -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, }) );