Adjusted paths to files

This commit is contained in:
Blade Barringer
2015-02-05 16:37:22 -06:00
parent 4572900a59
commit 67f478bb0e
2 changed files with 9 additions and 9 deletions

View File

@@ -32,16 +32,16 @@
"bower_components/jquery-ui/ui/minified/jquery.ui.mouse.min.js", "bower_components/jquery-ui/ui/minified/jquery.ui.mouse.min.js",
"bower_components/jquery-ui/ui/minified/jquery.ui.sortable.min.js", "bower_components/jquery-ui/ui/minified/jquery.ui.sortable.min.js",
"common/scripts/habitrpg-shared.js", "common/dist/scripts/habitrpg-shared.js",
"js/env.js", "js/env.js",
"js/app.js", "js/app.js",
"common/shared-scripts/config.js", "common/scripts/public/config.js",
"js/services/sharedServices.js", "js/services/sharedServices.js",
"js/services/notificationServices.js", "js/services/notificationServices.js",
"common/shared-scripts/userServices.js", "common/scripts/public/userServices.js",
"common/shared-scripts/directives.js", "common/scripts/public/directives.js",
"js/services/groupServices.js", "js/services/groupServices.js",
"js/services/memberServices.js", "js/services/memberServices.js",
"js/services/guideServices.js", "js/services/guideServices.js",
@@ -72,7 +72,7 @@
"app.css", "app.css",
"bower_components/pnotify/jquery.pnotify.default.css", "bower_components/pnotify/jquery.pnotify.default.css",
"bower_components/pnotify/jquery.pnotify.default.icons.css", "bower_components/pnotify/jquery.pnotify.default.icons.css",
"common/sprites/habitrpg-shared.css", "common/dist/sprites/habitrpg-shared.css",
"bower_components/bootstrap-tour/build/css/bootstrap-tour.css", "bower_components/bootstrap-tour/build/css/bootstrap-tour.css",
"fontello/css/fontelico.css" "fontello/css/fontelico.css"
] ]
@@ -80,7 +80,7 @@
"static": { "static": {
"js": [ "js": [
"bower_components/jquery/dist/jquery.min.js", "bower_components/jquery/dist/jquery.min.js",
"common/scripts/habitrpg-shared.js", "common/dist/scripts/habitrpg-shared.js",
"bower_components/angular/angular.js", "bower_components/angular/angular.js",
"bower_components/angular-ui/build/angular-ui.js", "bower_components/angular-ui/build/angular-ui.js",
"bower_components/angular-bootstrap/ui-bootstrap.js", "bower_components/angular-bootstrap/ui-bootstrap.js",
@@ -102,7 +102,7 @@
"bower_components/css-social-buttons/css/zocial.css", "bower_components/css-social-buttons/css/zocial.css",
"bower_components/jquery-colorbox/example1/colorbox.css", "bower_components/jquery-colorbox/example1/colorbox.css",
"app.css", "app.css",
"common/sprites/habitrpg-shared.css", "common/dist/sprites/habitrpg-shared.css",
"static.css" "static.css"
] ]
} }

View File

@@ -116,9 +116,9 @@ if (cores!==0 && cluster.isMaster && (isDev || isProd)) {
var maxAge = isProd ? 31536000000 : 0; var maxAge = isProd ? 31536000000 : 0;
// Cache emojis without copying them to build, they are too many // Cache emojis without copying them to build, they are too many
app.use(express['static'](path.join(__dirname, "/../build"), { maxAge: maxAge })); app.use(express['static'](path.join(__dirname, "/../build"), { maxAge: maxAge }));
app.use('/common', express['static'](publicDir + "/../../common/dist", { maxAge: maxAge })); app.use('/common/dist', express['static'](publicDir + "/../../common/dist", { maxAge: maxAge }));
app.use('/common/audio', express['static'](publicDir + "/../../common/audio", { 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/scripts/public', 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('/common/img/emoji/unicode', express['static'](publicDir + "/../../common/img/emoji/unicode", { maxAge: maxAge }));
app.use(express['static'](publicDir)); app.use(express['static'](publicDir));