Skip to content

Commit

Permalink
changed api url
Browse files Browse the repository at this point in the history
  • Loading branch information
sesar002 committed Feb 12, 2025
1 parent dd13cbc commit a55db54
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion apps/website/astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export default defineConfig({
server: {
proxy: {
"/api":
"https://web-contact-gloria-crocoderdev-crocoder.vercel.app/api", // Proxy API requests to your backend
"https://web-contact.vercel.app/api", // Proxy API requests to your backend
},
},
define: {
Expand Down
2 changes: 1 addition & 1 deletion apps/website/src/components/ContactUsForm.astro
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ import "../styles/loader.css";
showLoader();

const response = await fetch(
`https://web-contact-gloria-crocoderdev-crocoder.vercel.app/api`,
`https://web-contact.vercel.app/api`,
{
method: "POST",
headers: {
Expand Down
2 changes: 1 addition & 1 deletion apps/website/vercel.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
},
{
"source": "/api",
"destination": "https://web-contact-gloria-crocoderdev-crocoder.vercel.app/api"
"destination": "https://web-contact.vercel.app/api"
}
]
}

0 comments on commit a55db54

Please sign in to comment.