fix index path0

This commit is contained in:
Matteo Pagliazzi
2019-10-15 18:10:20 +02:00
parent fdcca53ee9
commit 86eeb3c849

View File

@@ -1,5 +1,5 @@
const ROOT = `${__dirname}/../../../`;
export function serveClient (expressRes) { // eslint-disable-line import/prefer-default-export
return expressRes.sendFile('./dist-client/index.html', { root: ROOT });
return expressRes.sendFile('./website/client/dist/index.html', { root: ROOT });
}