Use api subdomain
This commit is contained in:
@@ -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'),
|
||||
|
||||
Reference in New Issue
Block a user