| Summary: | Orion node should be relocatable | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Adam Peller <apeller> |
| Component: | Node | Assignee: | Mark Macdonald <mamacdon> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | mamacdon |
| Version: | 5.0 | ||
| Target Milestone: | 6.0 M1 | ||
| Hardware: | PC | ||
| OS: | Mac OS X | ||
| Whiteboard: | |||
A bunch of server code was sending incorrect URLs back to the client when a route other than "/" was used. Should be fixed now. http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=8a15efa Also made the server tests run under /orion, so any bad assumptions about the Orion middleware running at the server root should surface earlier. |
When setting up Orion, an optional path argument may be passed into app.use() -- important if integrating with another application which owns the root. e.g. app.use("/orion", orion({ /* config params here */ }); It might be good to mention this parameter in getting started documentation. When running on a path other than route the following error occurs GET http://localhost:9000/workspace/orionode 404 (Not Found) built-fileClientPlugin.js:64 which apparently should be http://localhost:9000/orion/workspace/orionode The path in the plugin has to somehow be made relative to the one on the main page.