support custom rootPath fixed #4
only modified response Location when using custom rootPath
Merge pull request #5 from fengmk2/rootPath

support custom rootPath fixed #4