fix
This commit is contained in:
parent
41d7c99226
commit
3f3dea2a5f
2 changed files with 4 additions and 4 deletions
|
|
@ -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