Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

sails.js - Getting blank page

It is properly working in my localhost. Issue only in another server.

When I run this application from another server, getting a blank page like below,

enter image description here

But api's are working properly. Landing page and no other pages are getting.

This issue has been started from today. In previous days there is no problem in this server.

All pages shows only '304 Not Modified' status. Undefined pages are also showing '304 Not Modified' instead of '404 not found'.

Please help me to fix this issue.

like image 455
Reshma Reghunatha Panicker Avatar asked Nov 06 '15 10:11

Reshma Reghunatha Panicker


1 Answers

Issue fixed.

views/layout.ejs get automatically empty that's why this issue occurred.

Reset the file to fix the issue.

like image 55
Reshma Reghunatha Panicker Avatar answered Oct 16 '22 11:10

Reshma Reghunatha Panicker