codestats api not included in REPO (revoke api key)
This commit is contained in:
parent
cdf3825486
commit
d5865078b1
1 changed files with 6 additions and 6 deletions
|
@ -5,13 +5,13 @@ return {
|
||||||
cmd = { "CodeStatsXpSend", "CodeStatsProfileUpdate" },
|
cmd = { "CodeStatsXpSend", "CodeStatsProfileUpdate" },
|
||||||
config = function()
|
config = function()
|
||||||
require("codestats").setup({
|
require("codestats").setup({
|
||||||
username = "gaiety", -- needed to fetch profile data
|
username = "gaiety", -- needed to fetch profile data
|
||||||
base_url = "https://codestats.net", -- codestats.net base url
|
base_url = "https://codestats.net", -- codestats.net base url
|
||||||
api_key = "SFMyNTY.WjJGcFpYUjUjI01qSXhPVFU9.fMtCrS4QvdQKCgS_pasnqpWGUyrk3At646kPkN7LIn8",
|
api_key = "", -- fill with your codestats machine API
|
||||||
send_on_exit = true, -- send xp on nvim exit
|
send_on_exit = true, -- send xp on nvim exit
|
||||||
send_on_timer = true, -- send xp on timer
|
send_on_timer = true, -- send xp on timer
|
||||||
timer_interval = 60000, -- timer interval in milliseconds (minimum 1000ms to prevent DDoSing codestat.net servers)
|
timer_interval = 60000, -- timer interval in milliseconds (minimum 1000ms to prevent DDoSing codestat.net servers)
|
||||||
curl_timeout = 5, -- curl request timeout in seconds
|
curl_timeout = 5, -- curl request timeout in seconds
|
||||||
})
|
})
|
||||||
end,
|
end,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue