aboutsummaryrefslogtreecommitdiff
path: root/index.ts
diff options
context:
space:
mode:
Diffstat (limited to 'index.ts')
-rw-r--r--index.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/index.ts b/index.ts
index bac690b..2412b22 100644
--- a/index.ts
+++ b/index.ts
@@ -8,6 +8,7 @@ const bodyParser = require("body-parser");
app.use(bodyParser.urlencoded({ extended: false }));
app.use(bodyParser.json());
const NodeRSA = require('node-rsa');
+var ip = require("ip")
//let priv = '';
interface keyring{
@@ -59,5 +60,5 @@ app.post('/login/submit', async (req:{body:{json:boolean,enc:boolean,data:string
app.listen(port,'0.0.0.0', () => {
- console.log(`Example app listening on port ${port}`)
+ console.log(`kanna is on http://${ip.address()}:${port} click on me click on me! :3`)
}) \ No newline at end of file