🚧 Add webpack site

This commit is contained in:
brunosimon
2017-08-02 16:52:13 +01:00
parent 64b95ddddd
commit 6859c394f5
27 changed files with 9278 additions and 27 deletions
+2
View File
@@ -103,6 +103,8 @@ class Site
*/
createProjectRoute(_project)
{
this.express.use('/', express.static(path.join(__dirname, '../site-webpack/dist')))
// Project route
this.express.get('/' + _project.slug, (request, response) =>
{