diff --git a/package-lock.json b/package-lock.json
index 1b23a98..812dc9c 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "jetsetradio-api",
- "version": "1.1.4",
+ "version": "1.1.5",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "jetsetradio-api",
- "version": "1.1.4",
+ "version": "1.1.5",
"license": "Apache 2.0",
"dependencies": {
"axios": "^1.11.0",
diff --git a/package.json b/package.json
index 8bc5047..5438b11 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "jetsetradio-api",
- "version": "1.1.4",
+ "version": "1.1.5",
"description": "A Data Provider relating to the JSR/JSRF universe",
"type": "module",
"main": "src/app.js",
diff --git a/src/docs/DEV_SETUP.md b/src/docs/DEV_SETUP.md
index a770f6c..95b6a4d 100644
--- a/src/docs/DEV_SETUP.md
+++ b/src/docs/DEV_SETUP.md
@@ -35,10 +35,7 @@ This page will guide you on setting up a development environment for this projec
LOG_LEVEL=info
# MONGO CONNECT (get from connection string)
- MONGO_USER=
- MONGO_PASS=
- MONGO_CLUSTER=
- MONGO_DOMAIN=
+ MONGO_URI=
# MONGO DATABASES (names do not matter)
JSR_DB=
@@ -46,7 +43,7 @@ This page will guide you on setting up a development environment for this projec
BRC_DB
CORE_DB=
```
- The databases section in the env file are names of the databases. For development purposes it does not matter what these names are just as long as you can distinguish one from the other and you know which one is which.
+ The databases section in the env file are names of the databases. For development purposes it does not matter what these names are but I recommend labeling it as QA-JSR, QA-JSRF, QA-BRC, or something similar.
6. Run the project
```sh
diff --git a/src/managers/MiddlewareManager.js b/src/managers/MiddlewareManager.js
index c371da6..59fcc1f 100644
--- a/src/managers/MiddlewareManager.js
+++ b/src/managers/MiddlewareManager.js
@@ -103,6 +103,7 @@ const filterPipeRoutes = async (req, endpoints) => {
if (
((jsrCollections.includes(model) ||
jsrCollections.includes(model + "s")) &&
+ !endpoint.includes("random") &&
endpoint.includes("jsr")) ||
endpoint.includes("levels")
) {
@@ -111,12 +112,14 @@ const filterPipeRoutes = async (req, endpoints) => {
if (
(jsrfCollections.includes(model) ||
jsrCollections.includes(model + "s")) &&
- endpoint.includes("jsrf")
+ endpoint.includes("jsrf") &&
+ !endpoint.includes("random")
) {
filteredEndpoints.push(endpoint);
}
if (
brcCollections.includes(model) &&
+ !endpoint.includes("random") &&
(endpoint.includes("brc") || endpoint.includes("collectibles"))
) {
filteredEndpoints.push(endpoint);
diff --git a/src/public/index.html b/src/public/index.html
index a2981b0..3b70901 100644
--- a/src/public/index.html
+++ b/src/public/index.html
@@ -13,6 +13,18 @@
name="keywords"
content="jet set radio, api, documentation, bomb rush cyberfunk, video game"
/>
+
+
+
+
+
+
Jet Set Radio API
@@ -29,13 +41,17 @@
JSRAPI
All The Data from Jet Set Radio, Jet Set Radio Future, and Bomb Rush
- Cyberfunk you could want
+ Cyberfunk you could want in JSON format.
games, characters, songs, graffiti-tags, locations, and more!