keystonejs/keystone-classic

Make less files not publicly available

Offen

#1.639 geöffnet am 02.09.2015

 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (2.288 Forks)batch import
bughelp wanted

Repository-Metriken

Stars
 (14.656 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

Every file under /public/styles/ is available through http when keystone is running.

Since *.less files could be considered as a part of the source code, could we move them to another location, e.g. /templates/styles/ to protect them from being available publicly?

It may be a good idea to keep /public/ folder only for files that are required during runtime, and keep source files elsewhere.

Contributor Guide