mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-25 06:34: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,
|
cookiesSecret: client.config.dashboard.secret,
|
||||||
domain: client.config.dashboard.domain,
|
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,
|
bot: client,
|
||||||
ownerIDs: [client.config.owner.id],
|
ownerIDs: [client.config.owner.id],
|
||||||
requiredPermissions: PermissionsBitField.Flags.ViewChannel,
|
requiredPermissions: PermissionsBitField.Flags.ViewChannel,
|
||||||
|
@ -63,7 +63,7 @@ module.exports.load = async client => {
|
||||||
clientId: client.config.userId,
|
clientId: client.config.userId,
|
||||||
scopes: ["bot", "applications.commands"],
|
scopes: ["bot", "applications.commands"],
|
||||||
permissions: "8",
|
permissions: "8",
|
||||||
redirectUri: `${client.config.dashboard.domain}${client.config.dashboard.port !== 80 ? `:${client.config.dashboard.port}` : ""}`,
|
redirectUri: `${client.config.dashboard.domain}`,
|
||||||
},
|
},
|
||||||
supportServer: {
|
supportServer: {
|
||||||
slash: "/support",
|
slash: "/support",
|
||||||
|
|
Loading…
Reference in a new issue