Monday, 29 May 2017

Server sends wrong html file content

I have a node.js project hosted on lightsail.aws.amazon.com. According to docs, requests to the server a performed via Apache server, which "redirects" requests to node.js server. May be here is the problem. But when I launch angular2 app, the component templates have wrong content, which you can see here:

http://52.57.77.147/partials/navigation.html

<head/> tag is prepended to the document content. Why?



via Maxim

No comments:

Post a Comment