diff --git a/src/_data/posts.js b/src/_data/posts.js index ed57fca..6ee62c8 100644 --- a/src/_data/posts.js +++ b/src/_data/posts.js @@ -40,7 +40,7 @@ class PostCache { params.set("modified_after", this.last_read_date.toISOString()); } - const response = await fetch(`https://lewisdale.dev/wp-json/wp/v2/comments?${params.toString()}`, { + const response = await fetch(`https://cms.lewisdale.dev/wp-json/wp/v2/comments?${params.toString()}`, { headers: { "Authorization": `Basic ${auth}` } @@ -66,7 +66,7 @@ class PostCache { params.set("modified_after", this.last_read_date.toISOString()); } - const response = await fetch(`https://lewisdale.dev/wp-json/wp/v2/posts?${params.toString()}`, { + const response = await fetch(`https://cms.lewisdale.dev/wp-json/wp/v2/posts?${params.toString()}`, { headers: { "Authorization": `Basic ${auth}` }