From 06a7aab289eb69eed64daeb5312c525cdec1df79 Mon Sep 17 00:00:00 2001 From: Rhys Date: Tue, 5 Nov 2024 17:20:31 +0000 Subject: [PATCH] Ergast Jolpica text replacement --- README.md | 4 ++-- app.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index af2b1f7..12fb7eb 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@

Stewardle

- A Wordle-inspired game designed for the web. Players must guess the randomly selected F1 driver using statistics retrieved from the Ergast API. Created with Express and Node.js. + A Wordle-inspired game designed for the web. Players must guess the randomly selected F1 driver using statistics retrieved from the Jolpica API. Created with Express and Node.js.
View Demo ยท @@ -45,7 +45,7 @@

-A Wordle-inspired game designed for the web. Players must guess the randomly selected F1 driver using statistics retrieved from the Ergast API. Created with Express and Node.js. +A Wordle-inspired game designed for the web. Players must guess the randomly selected F1 driver using statistics retrieved from the Jolpica API. Created with Express and Node.js. ## Contributing diff --git a/app.js b/app.js index 027410f..31f9039 100644 --- a/app.js +++ b/app.js @@ -272,7 +272,7 @@ axios.get("https://api.jolpi.ca/ergast/f1/1950/driverStandings.json?limit=1000") let data = fs.readFileSync(driversPath) drivers = JSON.parse(data) } else { - throw "Ergast API is unreachable and the drivers.json cache has not been built. Please try again when the Ergast API is online." + throw "Jolpica API is unreachable and the drivers.json cache has not been built. Please try again when the Jolpica API is online." } }).catch(err => { console.log(err)