From 8a6a5ad44081a8d53011aabda60e220667fa4996 Mon Sep 17 00:00:00 2001 From: Alan Hamlett Date: Wed, 29 Jun 2016 10:40:34 -0700 Subject: [PATCH] update api url constants --- assets/js/config.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/assets/js/config.js b/assets/js/config.js index 86a8680..b166437 100644 --- a/assets/js/config.js +++ b/assets/js/config.js @@ -14,13 +14,13 @@ var config = { // By default logging is enabled loggingEnabled: true, // 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 - 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 logoutUserUrl: 'https://wakatime.com/logout', // 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 colors: { allGood: '', @@ -59,4 +59,4 @@ var config = { } }; -module.exports = config; \ No newline at end of file +module.exports = config;