mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-21 20:54:58 +05:00
remove port from redirect
This commit is contained in:
parent
5d8dc531bb
commit
8e2c5bedad
1 changed files with 2 additions and 2 deletions
|
@ -55,7 +55,7 @@ module.exports.load = async client => {
|
|||
// },
|
||||
cookiesSecret: client.config.dashboard.secret,
|
||||
domain: client.config.dashboard.domain,
|
||||
redirectUri: `${client.config.dashboard.domain}${client.config.dashboard.port !== 80 ? `:${client.config.dashboard.port}` : ""}/discord/callback`,
|
||||
redirectUri: `${client.config.dashboard.domain}/discord/callback`,
|
||||
bot: client,
|
||||
ownerIDs: [client.config.owner.id],
|
||||
requiredPermissions: PermissionsBitField.Flags.ViewChannel,
|
||||
|
@ -63,7 +63,7 @@ module.exports.load = async client => {
|
|||
clientId: client.config.userId,
|
||||
scopes: ["bot", "applications.commands"],
|
||||
permissions: "8",
|
||||
redirectUri: `${client.config.dashboard.domain}${client.config.dashboard.port !== 80 ? `:${client.config.dashboard.port}` : ""}`,
|
||||
redirectUri: `${client.config.dashboard.domain}`,
|
||||
},
|
||||
supportServer: {
|
||||
slash: "/support",
|
||||
|
|
Loading…
Reference in a new issue