Skip to content

Commit

Permalink
Merge pull request #1185 from internxt/mailerlite-update
Browse files Browse the repository at this point in the history
[MKT_478]: Update/newsletter redirect to mailerlite
  • Loading branch information
jaaaaavier authored Dec 18, 2024
2 parents 5eed9bc + 03a46c3 commit 258296e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/layout/footers/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export default function Footer({
e.preventDefault();

await axios
.post(`api/subscribe`, {
.post(`/api/subscribe`, {
email,
groups: [process.env.NEXT_PUBLIC_FREE_GROUP_ID],
})
Expand Down
2 changes: 1 addition & 1 deletion src/components/newsletter/HeroSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const HeroSection = ({ textContent }) => {
e.preventDefault();

await axios
.post(`api/subscribe`, {
.post(`/api/subscribe`, {
email,
groups: [process.env.NEXT_PUBLIC_FREE_GROUP_ID],
})
Expand Down

0 comments on commit 258296e

Please sign in to comment.