Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 525570

Summary: Make the app in index.js into a Router
Product: [ECD] Orion Reporter: Michael Rennie <Michael_Rennie>
Component: NodeAssignee: Michael Rennie <Michael_Rennie>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: P3    
Version: 15.0   
Target Milestone: 17.0   
Hardware: PC   
OS: Mac OS X   
Whiteboard:

Description Michael Rennie CLA 2017-10-04 10:24:18 EDT
Currently, index.js creates another express app when the server requires it, but it only needs to be a router.

I'm not sure if there is necessarily any bad side-effects for having sub-apps (server.js is an app and then index.js is created as a sub-app), but it would make the code cleaner and more understandable if index was simply a router (and might help us with error handling).
Comment 1 Michael Rennie CLA 2018-01-31 14:18:19 EST
No plans to fix this. Closing.