Figured out my file upload issue: express middleware has to be added before routes are defined. I was adding middleware after initializing moonboots, and I hadn't clocked that moonboots would be adding a route handler, which means I can't add middleware after moonboots.
Figured out my file upload issue: express middleware has to be added before routes are defined. I was adding middleware after initializing moonboots, and I hadn't clocked that moonboots would be adding a route handler, which means I can't add middleware after moonboots.