Merge pull request #169 from fadookie/master

Fix demo/editor links and local server directory
This commit is contained in:
Javi Agenjo
2020-08-31 11:06:53 +02:00
committed by GitHub
2 changed files with 3 additions and 3 deletions

View File

@@ -167,7 +167,7 @@ $ npm install
$ node utils/server.js
Example app listening on port 80!
```
Open your browser and point it to http://localhost. You can select demo from the dropdown at the top of the page.
Open your browser and point it to http://localhost:8000/. You can select a demo from the dropdown at the top of the page.
## Feedback
--------

View File

@@ -4,7 +4,7 @@ const app = express()
app.use('/css', express.static('css'))
app.use('/src', express.static('src'))
app.use('/external', express.static('external'))
app.use('/demo', express.static('demo'))
app.use('/', express.static('demo'))
app.use('/editor', express.static('editor'))
app.use('/', express.static('editor'))
app.listen(8000, () => console.log('Example app listening on port 8000!'))