Skip to content

Commit 6c17eba

Browse files
committed
revert to default port
1 parent 1a0e8d1 commit 6c17eba

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

components/EmailForm.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const EmailForm: React.FC<Props> = ({ characters }) => {
2020
console.log("species: ", randomCharacter?.species);
2121

2222
// Make send email request to /api/send-email
23-
fetch("http://localhost:3001/api/send-email", {
23+
fetch("http://localhost:3000/api/send-email", {
2424
method: "POST",
2525
body: JSON.stringify({
2626
email,

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "0.1.0",
44
"private": true,
55
"scripts": {
6-
"dev": "next dev -p 3001",
6+
"dev": "next dev 3000",
77
"build": "next build",
88
"start": "next start",
99
"lint": "next lint",

0 commit comments

Comments
 (0)