diff --git a/webpack.config.ts b/webpack.config.ts index 51a99e0..2ab8e44 100644 --- a/webpack.config.ts +++ b/webpack.config.ts @@ -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'),