hasancode-api-docs 1.0.8 → 1.0.9

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.
@@ -210,7 +210,8 @@ class ApiDoc {
210
210
  fallthrough: false, // Return 404 if file not found
211
211
  }));
212
212
  // ── 3. Serve React app (catch-all, MUST come last) ───────────
213
- router.get(`${this.DOCS_PATH}*`, this.serveApp.bind(this));
213
+ // router.get(`${this.DOCS_PATH}*`, this.serveApp.bind(this));
214
+ router.use(this.serveApp.bind(this));
214
215
  return router;
215
216
  }
216
217
  serveConfig(req, res) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hasancode-api-docs",
3
- "version": "1.0.8",
3
+ "version": "1.0.9",
4
4
  "description": "A simple and easy to use API documentation generator for Express.js",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",