Skip to content

Refactor docs middleware for better path handling#67

Open
payne1778 wants to merge 1 commit into
mainfrom
bp-docs-middleware-schlop
Open

Refactor docs middleware for better path handling#67
payne1778 wants to merge 1 commit into
mainfrom
bp-docs-middleware-schlop

Conversation

@payne1778
Copy link
Copy Markdown
Collaborator

Refactor documentation serving middleware to use a centralized route mapping and improve path management.

Refactor documentation serving middleware to use a centralized route mapping and improve path management.
@payne1778 payne1778 requested a review from ReeseHatfield April 15, 2026 19:02
@ReeseHatfield
Copy link
Copy Markdown
Collaborator

Quick thing. I think the idea of just maintaining a "PROJECT_ROOT" is a much better system, and the map is honestly a much better plan lol.

However, if we introduce that PROJECT_ROOT, almost the entire project relies on "COURSES_ROOT" from backend/index.js. We might wanna move the projects root var into index.js and build COURSES_ROOT from PROJECT_ROOT

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants