Closed tobiastom closed 10 years ago
Maybe we could add this as a property to the Dalekfile & also add a flag to the CMD tools, so that you can tell in which baseUrl (or in fact, configuration) should be used.
Collecting the lines that would need to be changed to get this in; will post an estimation when ready.
Implemented in #61.
It would be pretty nice if I could define a base URL to which all requests (except otherwise noted) will be send to.
If I configured a base URL like
http://github.com/dalekjs
and then useopen('dalek/issues/new')
, the real request would be send tohttp://github.com/dalekjs/dalek/issues/new
.If I'm inside a development environment I could send them all to
http://localhost
, if I want to test a deployed application I could easily change it tohttp://github.com
.