diff --git a/docs.html b/docs.html index 4b78bca..77e47b9 100644 --- a/docs.html +++ b/docs.html @@ -251,7 +251,7 @@
{
"name": "Abaddon",
- "img": "https://supernatural-quotes-api.cyclic.app/images/350px-Abaddon001.png",
+ "img": "https://supernatural-api.onrender.com/images/350px-Abaddon001.png",
"actor": [
"Alaina Huffman",
"Sharon Bell",
@@ -445,7 +445,7 @@ Example data:
"chars": [
{
"name": "Sam Winchester",
- "img": "https://supernatural-quotes-api.cyclic.app/images/350px-SamWinchester.png",
+ "img": "https://supernatural-api.onrender.com/images/350px-SamWinchester.png",
"actor": [
"Jared Padalecki",
"Alex Ferris",
@@ -462,7 +462,7 @@ Example data:
},
{
"name": "Dean Winchester",
- "img": "https://supernatural-quotes-api.cyclic.app/images/350px-DeanWinchester.png",
+ "img": "https://supernatural-api.onrender.com/images/350px-DeanWinchester.png",
"actor": [
"Jensen Ackles",
"Hunter Brochu",
diff --git a/index.html b/index.html
index 1b5ca01..a82a80f 100644
--- a/index.html
+++ b/index.html
@@ -80,7 +80,7 @@
-fetch("https://supernatural-quotes-api.cyclic.app/quotes/random")
+fetch("https://supernatural-api.onrender.com/quotes/random")
.then(res => res.json())
.then(data => console.log(data))
@@ -117,8 +117,8 @@ {
res.send({
data: result,
next:
- "https://supernatural-quotes-api.cyclic.app/quotes?page=" +
+ "https://supernatural-api.onrender.com/quotes?page=" +
(isNaN(Number(req.query.page) + 1) ? 2 : Number(req.query.page) + 1),
prev:
Number(req.query.page) > 1
- ? "https://supernatural-quotes-api.cyclic.app/quotes?page=" +
+ ? "https://supernatural-api.onrender.com/quotes?page=" +
(Number(req.query.page) - 1)
: null,
count: data.length,