plasma-umass / doppio

Breaks the browser language barrier (includes a plugin-free JVM).
http://plasma-umass.github.io/doppio-demo
MIT License
2.16k stars 175 forks source link

Doppio attempts to load /browser/listings.json irrespective of current path #205

Closed vincentwoo closed 11 years ago

vincentwoo commented 11 years ago

Even though my page is hosted at localhost/doppio/test.html, doppio requests localhost/browser/listings.json instead of localhost/doppio/browser/listings.json.

This does not happen when I link directly against http://int3.github.io/doppio/compressed.js so I suspect this is a problem with a recent change.

jvilk commented 11 years ago

Good catch. We actually have to specially change a line in the filesystem logic in the demo to support the alternative directory structure, which is very much less than ideal.

I'm planning to address this when I address #140; seems like I should address this sooner than later.

perimosocordiae commented 11 years ago

Bump. Is this fixed now?

jvilk commented 11 years ago

I haven't tested relative paths yet; it may not be fixed yet.

perimosocordiae commented 11 years ago

Fixed with the latest BFS commit: https://github.com/jvilk/BrowserFS/commit/99b6add176bf901025f83be79b8b4f9b4e51a286