Skip to content

Commit

Permalink
https://opensnail.snail-ide.com/
Browse files Browse the repository at this point in the history
  • Loading branch information
nmsderp authored Mar 9, 2024
1 parent 6a61b69 commit f030b61
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions static/discord.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class DiscordAuth {
let top = (screen.height - height) / 2;
let left = (screen.width - width) / 2;
const authWindow = window.open(
`https://opensnail.onrender.com/auth/discord`,
`https://opensnail.snail-ide.com/auth/discord`,
'Discord Auth',
`scrollbars=1,resizable=no,width=${width},height=${height},top=${top},left=${left}`
);
Expand All @@ -47,7 +47,7 @@ class DiscordAuth {
clearInterval(intervalId);
try {
// Fetch user data from the server
const response = await fetch('https://opensnail.onrender.com/api/userdata');
const response = await fetch('https://opensnail.snail-ide.com/api/userdata');
if (!response.ok) {
throw new Error('Failed to fetch user data');
}
Expand Down

0 comments on commit f030b61

Please sign in to comment.