You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: react-nextjs/nextjs-host-react-remote/README.md
+3-5Lines changed: 3 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,16 +25,14 @@ yarn start
25
25
```
26
26
27
27
```bash
28
-
npm run dev
29
-
# or
30
-
yarn dev
28
+
yarn start
31
29
```
32
30
33
-
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
31
+
Open [http://localhost:8080](http://localhost:8080) with your browser to see the result.
34
32
35
33
You can start editing the page by modifying `pages/index.js`. The page auto-updates as you edit the file.
36
34
37
-
[API routes](https://nextjs.org/docs/api-routes/introduction) can be accessed on [http://localhost:3000/api/hello](http://localhost:3000/api/hello). This endpoint can be edited in `pages/api/hello.js`.
35
+
[API routes](https://nextjs.org/docs/api-routes/introduction) can be accessed on [http://localhost:8080/api/hello](http://localhost:8080/api/hello). This endpoint can be edited in `pages/api/hello.js`.
38
36
39
37
The `pages/api` directory is mapped to `/api/*`. Files in this directory are treated as [API routes](https://nextjs.org/docs/api-routes/introduction) instead of React pages.
0 commit comments