Point to the right file path
This commit is contained in:
parent
166857e0de
commit
5386c5aac7
|
@ -64,12 +64,12 @@ function installRoutes(app) {
|
||||||
|
|
||||||
app.get('/styles.css', async function (req, res) {
|
app.get('/styles.css', async function (req, res) {
|
||||||
res.set('Content-Type', 'text/css');
|
res.set('Content-Type', 'text/css');
|
||||||
res.sendFile(path.join(__dirname, '../public/styles/styles.css'));
|
res.sendFile(path.join(__dirname, '../../public/styles/styles.css'));
|
||||||
});
|
});
|
||||||
|
|
||||||
app.get('/matrix-public-archive.js', async function (req, res) {
|
app.get('/matrix-public-archive.js', async function (req, res) {
|
||||||
res.set('Content-Type', 'text/css');
|
res.set('Content-Type', 'text/css');
|
||||||
res.sendFile(path.join(__dirname, '../dist/matrix-public-archive.es.js'));
|
res.sendFile(path.join(__dirname, '../../dist/matrix-public-archive.es.js'));
|
||||||
});
|
});
|
||||||
|
|
||||||
app.get(
|
app.get(
|
||||||
|
|
Loading…
Reference in New Issue