0b48a79bec906004ab437e74e53e39b1e0b1cc6b
This commit fixes a TypeError that occurred because the contactRoutes module was being initialized before the contactController module. The fix involves: - Swapping the initialization order in server.js so the contactController is initialized before contactRoutes. - Modifying contactRoutes.js to accept the initialized contactController as a dependency, rather than requiring it on its own.
dlseitz.dev-backend
Backend server application and modules for https://dlseitz.dev
Description
Languages
JavaScript
100%