Skip to content

Commit

Permalink
Use api subdomain
Browse files Browse the repository at this point in the history
  • Loading branch information
alanhamlett committed Feb 7, 2024
1 parent 2b3d2ac commit 72b7676
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webpack.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ const getConfigByBrowser = (isProd: boolean, browser: BrowserTypes): webpack.Con
],
}),
new webpack.DefinePlugin({
['process.env.API_URL']: JSON.stringify('https://wakatime.com/api/v1'),
['process.env.API_URL']: JSON.stringify('https://api.wakatime.com/api/v1'),
['process.env.CURRENT_USER_API_URL']: JSON.stringify('/users/current'),
['process.env.HEARTBEAT_API_URL']: JSON.stringify('/users/current/heartbeats'),
['process.env.LOGOUT_USER_URL']: JSON.stringify('https://wakatime.com/logout'),
Expand Down

0 comments on commit 72b7676

Please sign in to comment.