Version 0.2.1 Change the Port of the server

This commit is contained in:
CICD - Pipeline 2023-08-22 17:48:58 +02:00
parent baa74459a1
commit 87dd1779a4
5 changed files with 7 additions and 7 deletions

View File

@ -5,7 +5,7 @@
"access_token": "jY17lCWaOpTdPQCnz50kfNm7ABpsGz", "access_token": "jY17lCWaOpTdPQCnz50kfNm7ABpsGz",
"expires_in": 604800, "expires_in": 604800,
"refresh_token": "3TronknZ7j5kVSDBjI3OechmCYF8ck", "refresh_token": "3TronknZ7j5kVSDBjI3OechmCYF8ck",
"scope": "identify guilds.members.read guilds" "scope": "guilds guilds.members.read identify"
}, },
"avatar": null, "avatar": null,
"communication_disabled_until": null, "communication_disabled_until": null,
@ -34,6 +34,6 @@
"deaf": false, "deaf": false,
"bio": "", "bio": "",
"banner": null, "banner": null,
"token": "0e33a0fe-0248-47a4-949d-1c4d37b2c443" "token": "289373d4-8733-484b-b674-2230e0afc6ae"
} }
] ]

View File

@ -1,7 +1,7 @@
{ {
"name": "subsonics-web", "name": "subsonics-web",
"author": "Raphix", "author": "Raphix",
"version": "0.2.0", "version": "0.2.1",
"nodemonConfig": { "nodemonConfig": {
"ext": "js, html", "ext": "js, html",
"ignore": [ "ignore": [

View File

@ -46,7 +46,7 @@ module.exports.getDiscordUser = function (code, session) {
var link = "https://subsonics.raphix.fr" var link = "https://subsonics.raphix.fr"
if(process.env.DEV == "true") { if(process.env.DEV == "true") {
link = "http://localhost:3001" link = "http://localhost:4000"
} }
const params = new URLSearchParams(); const params = new URLSearchParams();

View File

@ -26,7 +26,7 @@ function init() {
const app = express(); const app = express();
const port = normalizePort(process.env.PORT || '3001'); const port = normalizePort(process.env.PORT || '4000');
const server = require('http').createServer(app); const server = require('http').createServer(app);
@ -152,7 +152,7 @@ function IOConnection(io) {
if(process.env.DEV == "true") { if(process.env.DEV == "true") {
alog.log("Mode Developpeur Actif : Redirige vers LOCALHOST") alog.log("Mode Developpeur Actif : Redirige vers LOCALHOST")
discordlink = "https://discord.com/api/oauth2/authorize?client_id=1094727789682380922&redirect_uri=http%3A%2F%2Flocalhost%3A3001%2Finternal%2Fredirect&response_type=code&scope=identify%20guilds%20guilds.members.read" //DEV discordlink = "https://discord.com/api/oauth2/authorize?client_id=1094727789682380922&redirect_uri=http%3A%2F%2Flocalhost%3A4000%2Finternal%2Fredirect&response_type=code&scope=identify%20guilds%20guilds.members.read" //DEV
} else { } else {
discordlink = "https://discord.com/api/oauth2/authorize?client_id=1094727789682380922&redirect_uri=https%3A%2F%2Fsubsonics.raphix.fr%2Finternal%2Fredirect&response_type=code&scope=identify%20guilds%20guilds.members.read" //OFFICIEL discordlink = "https://discord.com/api/oauth2/authorize?client_id=1094727789682380922&redirect_uri=https%3A%2F%2Fsubsonics.raphix.fr%2Finternal%2Fredirect&response_type=code&scope=identify%20guilds%20guilds.members.read" //OFFICIEL
} }

View File

@ -65,7 +65,7 @@ router.get("/socketlink", (req,res,next) => {
if(process.env.DEV == true) { if(process.env.DEV == true) {
res.send("ws://localhost:3001") res.send("ws://localhost:4000")
} else { } else {
res.send("ws://subsonics.raphix.fr") res.send("ws://subsonics.raphix.fr")
} }