@rpcbase/api 0.67.0 → 0.69.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -21157,7 +21157,7 @@ const initApi = async ({
|
|
|
21157
21157
|
const coloredPath = routePath.startsWith("@rpcbase/") ? `${GRAY}${routePath}${RESET}` : routePath;
|
|
21158
21158
|
console.log("loaded api route", coloredPath);
|
|
21159
21159
|
};
|
|
21160
|
-
await BBPromise.
|
|
21160
|
+
await BBPromise.mapSeries(routeEntries, loadRoute);
|
|
21161
21161
|
console.log("Done loading routes");
|
|
21162
21162
|
app.use("/api", (req, res) => {
|
|
21163
21163
|
res.status(404).json({ error: `Not Found: ${req.method}:${req.originalUrl}` });
|