mirror of
https://github.com/danbulant/mysqlExporter
synced 2026-07-05 11:20:49 +00:00
Fix static path
This commit is contained in:
parent
af7613ab86
commit
3135102d3c
1 changed files with 1 additions and 1 deletions
2
index.js
2
index.js
|
|
@ -28,7 +28,7 @@ function query(conn, data, params = []) {
|
||||||
};
|
};
|
||||||
|
|
||||||
if(!apiOnly)
|
if(!apiOnly)
|
||||||
app.use("/view", express.static('static'))
|
app.use("/view", express.static(__dirname + '/static'))
|
||||||
|
|
||||||
app.get("/", (req, res) => {
|
app.get("/", (req, res) => {
|
||||||
res.json({
|
res.json({
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue