Hi Ken
Yes, I’ve already discovered that it’s because of the layout. I came across this topic, where the same situation is discussed: Problems following Node.js "Applying Security" Tutorial/Docs
In my case, as in the topic above, I did not create the layout at all, because I plan to create a classic multi-page application. Which raises the question, is it even possible to fully work with nodejs without using layouts?
The system of layouts and approach in building applications on nodejs in the current form, this is basically the concept of SPA.
What if you don’t need a SPA, but a classic multi-page application?