/
/
Node.js application’s service files are accessible via website

Node.js application’s service files are accessible via website

Symptoms

Node.js application’s service files can be opened by entering its name in the URL.

Reasons

The filename extension “js” is in the list of file extensions for caching.

Solution

Exclude the filename extension “js” from the list of file extensions for caching in website’s settings in the section “Optimization and DDoS protection” in the field “File extensions for caching”.

Opening the website's settings
Changing the list of file extensions for caching

In this article