Hi,
Just want to know can I change the server.js to something else? Because I have several projects synced from glitch, using the same server.js name could be confusing .
Thanks
Jeff
Hi,
Just want to know can I change the server.js to something else? Because I have several projects synced from glitch, using the same server.js name could be confusing .
Thanks
Jeff
When you rename the server.js
file make sure to change the name too in package.json
in the scripts object.
Hey @bloodchen,
You can rename the file by clicking on the 3 dots next to the file name. Once you’ve renamed the file, make sure to change the start script command to node index.js
(replace index.js
with the new name of the server file), as @LukaGamingDev said.