Skip to content

Commit

Permalink
Update server.js
Browse files Browse the repository at this point in the history
add back prior /tests/configs and /tests/mocks
  • Loading branch information
sdetweil authored Jan 5, 2025
1 parent 5f2bf1e commit e94f850
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", "/tests"];
let directories = ["/config", "/css", "/fonts", "/modules", "/vendor", "/translations", "/tests/configs", "/tests/mocks"];
for (const directory of directories) {
app.use(directory, express.static(path.resolve(global.root_path + directory)));
}
Expand Down

0 comments on commit e94f850

Please sign in to comment.