aboutsummaryrefslogtreecommitdiff
path: root/index.ts
diff options
context:
space:
mode:
authorgrant-kun <[email protected]>2022-10-03 14:06:52 -0500
committergrant-kun <[email protected]>2022-10-03 14:06:52 -0500
commit0f33502fa92659ac44aba10efd87842b0444a7ca (patch)
treeaf1d57c7e64f18ca49ddca70cc16b1c68dc4c4a3 /index.ts
parent1281900e2e9c7e4efa7be02f5120de11a297ccda (diff)
a message
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