Skip to content

Commit

Permalink
Update API urls
Browse files Browse the repository at this point in the history
  • Loading branch information
NovaFox161 committed Jan 23, 2025
1 parent 05bdbb6 commit f34cd2f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,9 @@ function getBaseUrl(): string {
if (typeof window !== 'undefined') {
switch (window.location.hostname) {
case 'dev.discalbot.com':
return 'https://dev-api.discalbot.com'
return 'https://dev.discalbot.com'
case 'discalbot.com':
case 'www.discalbot.com':
return 'https://api.discalbot.com'
case 'localhost':
return '/api'
default:
Expand Down

0 comments on commit f34cd2f

Please sign in to comment.