saltyshiomix / nextron

⚡ Next.js + Electron ⚡
https://npm.im/nextron
MIT License
3.69k stars 215 forks source link

After the app is built, does the API still listen in some port? #432

Open brunolm opened 6 months ago

brunolm commented 6 months ago

In development I can access the API at :8888, but when I'm running the built thing this port is not accessible. Does it keep the API listening in some port still?

bm777 commented 6 months ago

In prod, you are not using that port anymore. In prod, the app is running via the static HTML file generated by the build command and they are in app/ folder.

Screenshot 2023-12-14 at 04 55 29

Here box.html was my /pages/box.jsx file transformed.