neutral/routes/internal.js
Raphael ee556d859e
All checks were successful
Neutral/pipeline/head This commit looks good
revert 6f637968bdd5dea7f472e5a07517e072ed69715e
revert Version 1.0.0 - Basic Web Application
2024-12-29 14:53:26 +00: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;