File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11const isDevelopment = import . meta. env . DEV ;
22const hostApi = isDevelopment
33 ? "http://localhost"
4- : "https://sing-generator-node.herokuapp .com" ;
4+ : "https://sing-generator-node.flatlogic .com" ;
55const portApi = isDevelopment ? 8080 : "" ;
66const baseURLApi = `${ hostApi } ${ portApi ? `:${ portApi } ` : `` } /api` ;
77const redirectUrl = isDevelopment
@@ -16,7 +16,7 @@ const appConfig = {
1616 portApi,
1717 baseURLApi,
1818 redirectUrl,
19- remote : "https://sing-generator-node.herokuapp .com" ,
19+ remote : "https://sing-generator-node.flatlogic .com" ,
2020 isBackend,
2121 auth : {
2222 email : 'admin@flatlogic.com' ,
Original file line number Diff line number Diff line change @@ -139,7 +139,7 @@ export function getProductsImages(dispatch) {
139139 return data . map ( ( c ) => {
140140 return c . replace (
141141 / h t t p : \/ \/ .+ \/ / ,
142- 'https://flatlogic-node-backend.herokuapp .com/assets/products/' ,
142+ 'https://flatlogic-node-backend.flatlogic .com/assets/products/' ,
143143 ) ;
144144 } ) ;
145145 } ;
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ const CreateProduct = () => {
3939
4040 const [ newProduct , setNewProduct ] = React . useState ( {
4141 img :
42- "https://flatlogic-node-backend.herokuapp .com/assets/products/img1.jpg" ,
42+ "https://flatlogic-node-backend.flatlogic .com/assets/products/img1.jpg" ,
4343 title : null ,
4444 subtitle : null ,
4545 price : 0.1 ,
You can’t perform that action at this time.
0 commit comments