-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
index.js #35
Comments
We did that so we could create the server in index.js. However, we shoud probably call index.js server.js, and call server.js handler.js. 😖😖 |
What do you think ❓❓ |
Okay I understand then! Yeah you do need to rename those files to be clearer. Also, you might want to have a look at the issue @minaorangina raised on another team's repo here. |
I've changed the names of the files now to represent the structure a bit better. Do you know of a better way around it when testing? |
I don't understand the point of index.js - why not just use server.js? If it's because of the default 'main' file in your package.json, you could just change that to 'server.js'.
The text was updated successfully, but these errors were encountered: