Domain change removed the www

This commit is contained in:
ION606
2022-12-24 09:24:24 -08:00
parent 55e7c73a31
commit 3e5202f5b2
11 changed files with 48 additions and 39 deletions
+9 -1
View File
@@ -591,6 +591,14 @@ app.post("/newics", async(req, res) => {
*/
app.get("/userData", async (req, res) => {
connection.then((client) => {
const headers = req.headers;
const dbo = client.db();
});
});
app.get('/', async ({ query }, response) => {
const { code } = query;
@@ -603,7 +611,7 @@ app.get('/', async ({ query }, response) => {
client_secret: clientSecret,
code,
grant_type: 'authorization_code',
redirect_uri: `https://www.selmerbot.com/`,
redirect_uri: `https://selmerbot.com/`,
scope: 'identify',
}),
headers: {