Skip to content
Snippets Groups Projects
Commit a7e0f386 authored by Benoit Alessandroni's avatar Benoit Alessandroni
Browse files

Removing useless code

parent 9f4491db
No related branches found
No related tags found
1 merge request!184Adding proper support of dialogs in safari
Pipeline #6444 failed
......@@ -8,19 +8,7 @@ const express = require('express');
const app = express();
app
.use(express.static(distPath))
// .use('/src', express.static(join(__dirname, 'src')))
.get('/:lang/:path([^.]*)', (req, rep) => {
rep.sendFile(join(__dirname, distPath, `${req.params.lang}/index.html`));
})
.listen(port);
// browser sync
const bs = require('browser-sync').create();
bs.init({
files: [distPath + '/**/*'],
proxy: `http://localhost:${port}`,
open: false,
notify: false,
port: browserSyncPort
// tunnel: true,
});
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment