:construction:🎨 Site > Improve structure/build and add example
This commit is contained in:
+2
-2
@@ -103,7 +103,7 @@ class Site
|
||||
*/
|
||||
createProjectRoute(_project)
|
||||
{
|
||||
this.express.use('/', express.static(path.join(__dirname, '../site-webpack/dist')))
|
||||
this.express.use('/', express.static(path.join(__dirname, '../site/dist')))
|
||||
|
||||
// Project route
|
||||
this.express.get('/' + _project.slug, (request, response) =>
|
||||
@@ -111,7 +111,7 @@ class Site
|
||||
response.send(`
|
||||
<a href="/${_project.slug}/download" download>download project</a>
|
||||
<a href="/${_project.slug}/files/empty.txt" download>download file</a>
|
||||
|
||||
|
||||
<form action="#" class="infos-form">
|
||||
<input type="text" class="name" value="" /> Name
|
||||
<input type="submit" value="send" />
|
||||
|
||||
Reference in New Issue
Block a user