diff --git a/public/stylesheets/style.css b/assets/stylesheets/style.css similarity index 100% rename from public/stylesheets/style.css rename to assets/stylesheets/style.css diff --git a/client/help.md b/client/help.md new file mode 100644 index 0000000..a5b1b77 --- /dev/null +++ b/client/help.md @@ -0,0 +1,6 @@ +Client files are serves in the ROOT/js directory. + +### Example: + + File in project: /client/app.js + File in webserver: /js/app.js \ No newline at end of file diff --git a/scripts/server.js b/scripts/server.js index c538b66..fff0567 100644 --- a/scripts/server.js +++ b/scripts/server.js @@ -21,7 +21,7 @@ var Server = function(cb) { app.set('port', process.env.PORT || 3000); app.use("/js", express.static(path.resolve(__dirname, "../client"))); - app.use("/assets", express.static(path.resolve(__dirname, "../public"))); + app.use("/assets", express.static(path.resolve(__dirname, "../assets"))); app.set('view engine', 'ejs'); app.use(expressLayouts)