We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a0e8d1 commit 6c17ebaCopy full SHA for 6c17eba
components/EmailForm.tsx
@@ -20,7 +20,7 @@ const EmailForm: React.FC<Props> = ({ characters }) => {
20
console.log("species: ", randomCharacter?.species);
21
22
// Make send email request to /api/send-email
23
- fetch("http://localhost:3001/api/send-email", {
+ fetch("http://localhost:3000/api/send-email", {
24
method: "POST",
25
body: JSON.stringify({
26
email,
package.json
@@ -3,7 +3,7 @@
3
"version": "0.1.0",
4
"private": true,
5
"scripts": {
6
- "dev": "next dev -p 3001",
+ "dev": "next dev 3000",
7
"build": "next build",
8
"start": "next start",
9
"lint": "next lint",
0 commit comments