updated base url
This commit is contained in:
parent
1fe2c388eb
commit
15d1fa862a
@ -16,7 +16,8 @@ const setupAxios = () => {
|
||||
// axios.defaults.baseURL = "http://localhost:8000";
|
||||
|
||||
// axios.defaults.baseURL = "https://happy-sombrero-ray.cyclic.app/"; //->latest deployed
|
||||
axios.defaults.baseURL = "https://printsigns.onrender.com/"; //->latest deployed
|
||||
// axios.defaults.baseURL = "https://printsigns.onrender.com/"; //->latest deployed
|
||||
axios.defaults.baseURL = "https://api.thesolarsign.com/"; //->latest deployed
|
||||
|
||||
axios.defaults.headers = {
|
||||
"Cache-Control": "no-cache,no-store",
|
||||
|
@ -421,9 +421,9 @@ const Design = () => {
|
||||
textTransform: "capitalize",
|
||||
}}
|
||||
onClick={handleOpen}
|
||||
// onClick={() => {
|
||||
// navigate("/testimonial/new", { replace: true });
|
||||
// }}
|
||||
// onClick={() => {
|
||||
// navigate("/testimonial/new", { replace: true });
|
||||
// }}
|
||||
>
|
||||
Add New Design
|
||||
</Button>
|
||||
@ -466,7 +466,7 @@ const Design = () => {
|
||||
onChange={(e) =>
|
||||
setDesignName(
|
||||
e.target.value.charAt(0).toUpperCase() +
|
||||
e.target.value.slice(1)
|
||||
e.target.value.slice(1)
|
||||
)
|
||||
}
|
||||
/>
|
||||
@ -684,7 +684,7 @@ const Design = () => {
|
||||
p={2}
|
||||
display={"flex"}
|
||||
justifyContent={"right"}
|
||||
// width={"500px"}
|
||||
// width={"500px"}
|
||||
>
|
||||
{!edit && (
|
||||
<button
|
||||
@ -826,11 +826,11 @@ const Design = () => {
|
||||
<td>
|
||||
<img
|
||||
className="me-2"
|
||||
src={`http://localhost:8000/uploades/${item.designImage.filename}`}
|
||||
src={`https://api.thesolarsign.com/uploades/${item.designImage.filename}`}
|
||||
width="40"
|
||||
alt=""
|
||||
/>
|
||||
<h5>{} </h5>
|
||||
<h5>{ } </h5>
|
||||
</td>
|
||||
<td>
|
||||
<h5>{item.designName} </h5>
|
||||
|
Loading…
Reference in New Issue
Block a user