console.log(10); console.log(20); console.log(30);
And I change the first line to:
What I get back from the HTTP request is:
console.log(10); console.log(20); console.log(30)
The only way I can get the web server to return the actual file contents is to rename the file. This also doesn't seem to be happening for any other static files, like my CSS.
This is on a CentOS 6.5 virtual machine. The code is contained in a shared folder on the host machine that is mounted on the virtual machine and configured as a virtual host in apache.