diff --git a/package.json b/package.json index 7af2022..4a25982 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "seobot", - "version": "1.0.9", + "version": "1.0.10", "description": "Client library for the SEObot API", "main": "dist/index.js", "files": [ diff --git a/src/blog/client.ts b/src/blog/client.ts index b713df6..5c7a26c 100644 --- a/src/blog/client.ts +++ b/src/blog/client.ts @@ -33,13 +33,13 @@ export class BlogClient { } private async _fetchIndex(): Promise { - const response = await fetch(`https://cdn.seobotai.com/${this._key}/system/base.json`, { cache: 'no-store' }); + const response = await fetch(`https://cdn.seobotai.com/${this._key}/system/base.json`); const index = (await response.json()) as Blog.IArticleIndexCompressed[]; return index.map(i => this._decompressIndex(i)).sort((a, b) => b.createdAt.localeCompare(a.createdAt)); } private async _fetchArticle(id: string): Promise { - const postData = await fetch(`https://cdn.seobotai.com/${this._key}/blog/${id}.json`, { cache: 'no-store' }); + const postData = await fetch(`https://cdn.seobotai.com/${this._key}/blog/${id}.json`); const post = (await postData.json()) as Blog.IArticle; return post; }