Request method use relative url of the module

Request method use relative url of the module.
There is a way to prevent that?, and use an absolute url?

URL: /foo/bar/add
When request a module from there differs from this url /foo
Because first one search the module /foo/bar/module.js and the second one from /module.js
Sign In or Register to comment.