Skip to content

Commit

Permalink
publishing /env not needed
Browse files Browse the repository at this point in the history
  • Loading branch information
khassel committed Sep 7, 2024
1 parent 34590ad commit 7272905
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ function Server (config) {
app.use(helmet(config.httpHeaders));
app.use("/js", express.static(__dirname));

let directories = ["/config", "/css", "/fonts", "/modules", "/vendor", "/translations", "/env"];
let directories = ["/config", "/css", "/fonts", "/modules", "/vendor", "/translations"];
if (process.env.JEST_WORKER_ID !== undefined) {
// add tests directories only when running tests
directories.push("/tests/configs", "/tests/mocks");
Expand Down

0 comments on commit 7272905

Please sign in to comment.