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) {
|