mirror of
https://github.com/danbulant/mysqlExporterDeno
synced 2026-05-19 04:08:50 +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)
|
||||
app.use("/view", express.static('static'))
|
||||
app.use("/view", express.static(__dirname + '/static'))
|
||||
|
||||
app.get("/", (req, res) => {
|
||||
res.json({
|
||||
|
|
|
|||
Loading…
Reference in a new issue