Skip to content

Commit e23c62f

Browse files
authored
fix: use discord.com domain
discordapp.com domain is deprecated for newer API version.
1 parent e09c95d commit e23c62f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const app = express();
1616
// app.use(bodyParser.json());
1717

1818
const discord_api = axios.create({
19-
baseURL: 'https://discordapp.com/api/',
19+
baseURL: 'https://discord.com/api/',
2020
timeout: 3000,
2121
headers: {
2222
"Access-Control-Allow-Origin": "*",

0 commit comments

Comments
 (0)