update api url constants

This commit is contained in:
Alan Hamlett
2016-06-29 10:40:34 -07:00
parent b9af6d20fe
commit 8a6a5ad440

View File

@@ -14,13 +14,13 @@ var config = {
// By default logging is enabled // By default logging is enabled
loggingEnabled: true, loggingEnabled: true,
// Url to which to send the heartbeat // Url to which to send the heartbeat
heartbeatApiUrl: 'https://wakatime.com/api/v1/users/current/heartbeats', heartbeatApiUrl: 'https://api.wakatime.com/api/v1/users/current/heartbeats',
// Url from which to detect if the user is logged in // Url from which to detect if the user is logged in
currentUserApiUrl: 'https://wakatime.com/api/v1/users/current', currentUserApiUrl: 'https://api.wakatime.com/api/v1/users/current',
// The url to logout the user from wakatime // The url to logout the user from wakatime
logoutUserUrl: 'https://wakatime.com/logout', logoutUserUrl: 'https://wakatime.com/logout',
// Gets stats from the WakaTime API // Gets stats from the WakaTime API
summariesApiUrl: 'https://wakatime.com/api/v1/users/current/summaries', summariesApiUrl: 'https://api.wakatime.com/api/v1/users/current/summaries',
// Different colors for different states of the extension // Different colors for different states of the extension
colors: { colors: {
allGood: '', allGood: '',
@@ -59,4 +59,4 @@ var config = {
} }
}; };
module.exports = config; module.exports = config;