sideshowcoder / canned

Server to respond with fake API responses, by using a directory of files for finding out what to say!
213 stars 46 forks source link

Starting the Canned API server works only with relative path not absolute path #45

Closed kavithabhaskaran closed 9 years ago

kavithabhaskaran commented 9 years ago

Suppose I have a dir called "Abc" and I have 10 sub-directories in it "1" through "10". I want to start the canned API server for each of those - it works only with relative path ../../xxx/x/xx and not with absolute path (./canned -p 3000 ../zy/tz/ex) -> this works because it is relative. Why is that? Can it not work with absolute path?

sideshowcoder commented 9 years ago

This is a bug, thanks for reporting, I was able to reproduce and work on fixing it :+1: