mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-04-14 19:47:03 +00:00
Added paths for common scripts
This commit is contained in:
parent
5d9cda3b76
commit
28b9ad11cb
5 changed files with 4 additions and 3 deletions
|
|
@ -37,11 +37,11 @@
|
|||
"js/env.js",
|
||||
|
||||
"js/app.js",
|
||||
"common/config.js",
|
||||
"common/shared-scripts/config.js",
|
||||
"js/services/sharedServices.js",
|
||||
"js/services/notificationServices.js",
|
||||
"common/userServices.js",
|
||||
"common/directives.js",
|
||||
"common/shared-scripts/userServices.js",
|
||||
"common/shared-scripts/directives.js",
|
||||
"js/services/groupServices.js",
|
||||
"js/services/memberServices.js",
|
||||
"js/services/guideServices.js",
|
||||
|
|
|
|||
|
|
@ -118,6 +118,7 @@ if (cores!==0 && cluster.isMaster && (isDev || isProd)) {
|
|||
app.use(express['static'](path.join(__dirname, "/../build"), { maxAge: maxAge }));
|
||||
app.use('/common', express['static'](publicDir + "/../../common/dist", { maxAge: maxAge }));
|
||||
app.use('/common/audio', express['static'](publicDir + "/../../common/audio", { maxAge: maxAge }));
|
||||
app.use('/common/shared-scripts', express['static'](publicDir + "/../../common/script/public", { maxAge: maxAge }));
|
||||
app.use('/common/img/emoji/unicode', express['static'](publicDir + "/../../common/img/emoji/unicode", { maxAge: maxAge }));
|
||||
app.use(express['static'](publicDir));
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue