mirror of
https://github.com/danbulant/mysqlExporter
synced 2026-06-24 17:31:52 +00:00
Add shebang
This commit is contained in:
parent
4c45f0a0e5
commit
af7613ab86
1 changed files with 2 additions and 1 deletions
3
index.js
3
index.js
|
|
@ -1,3 +1,4 @@
|
||||||
|
#!/usr/bin/env node
|
||||||
const express = require("express");
|
const express = require("express");
|
||||||
const fs = require("fs");
|
const fs = require("fs");
|
||||||
const mysql = require("mysql");
|
const mysql = require("mysql");
|
||||||
|
|
@ -65,4 +66,4 @@ app.listen(8877, "localhost", () => {
|
||||||
if(!apiOnly)
|
if(!apiOnly)
|
||||||
opn('http://localhost:8877/view');
|
opn('http://localhost:8877/view');
|
||||||
console.log("Listening on port 8877");
|
console.log("Listening on port 8877");
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue