neutral/routes/internal.js
Raphix 9c1074de80
All checks were successful
Neutral/pipeline/head This commit looks good
Version 0.2.0 - PREVERSION - Ajout de certaines fonctionnalités
2023-11-02 18:16:15 +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;