Skip to content

Commit

Permalink
fix: update API URL to use relative path for production
Browse files Browse the repository at this point in the history
  • Loading branch information
chimpdev committed Feb 17, 2025
1 parent 9780105 commit d5d3752
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ const config = {
statusUrl: 'https://status.discord.place',
statusBadgeUrl: 'https://status.discord.place/badge',
api: {
url: process.env.NODE_ENV === 'development' ? 'http://localhost:3001' : 'https://discord.place/api'
url: process.env.NODE_ENV === 'development' ? 'http://localhost:3001' : '/api'
},
analytics: {
url: 'https://analytics.discord.place',
Expand Down

0 comments on commit d5d3752

Please sign in to comment.