chore: update analytics fetch window
This commit is contained in:
parent
156c8bc7e1
commit
3db36b44e6
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@ const EleventyFetch = require('@11ty/eleventy-fetch')
|
|||
module.exports = async function () {
|
||||
const SITE_ID_CLICKY = process.env.SITE_ID_CLICKY
|
||||
const SITE_KEY_CLICKY = process.env.SITE_KEY_CLICKY
|
||||
const url = `https://api.clicky.com/api/stats/4?site_id=${SITE_ID_CLICKY}&sitekey=${SITE_KEY_CLICKY}&type=pages&output=json`
|
||||
const url = `https://api.clicky.com/api/stats/4?site_id=${SITE_ID_CLICKY}&sitekey=${SITE_KEY_CLICKY}&type=pages&date=this-month&output=json`
|
||||
const res = EleventyFetch(url, {
|
||||
duration: '1h',
|
||||
type: 'json',
|
||||
|
|
Reference in a new issue