neutral/routes/internal.js
Raphix 1219e6fecc
All checks were successful
Neutral/pipeline/head This commit looks good
Version 1.1.0 - Revert to app
2024-12-29 15:38:16 +01:00

16 lines
314 B
JavaScript

var express = require('express');
var router = express.Router();
var path = require("path")
router.get("/socketlink", (req,res,next) => {
if(process.env.DEV == true) {
res.send("ws://localhost:3001")
} else {
res.send("ws://neutral.raphix.fr")
}
})
module.exports = router;