maple 0.3.0 breaks .files #31

Open
lordnox opened this Issue Aug 31, 2012 · 1 comment

Comments

Projects
None yet
2 participants
@lordnox

lordnox commented Aug 31, 2012

I had a simple static fileserver, just like in the example:

tako = require('tako');
app = tako();
app.route('*').files(require('path').join(__dirname, 'public'));
app.httpServer.listen(9999);

The query for something...

  curl localhost:9999/something.txt

... will now be redirected to...

  ./public/something.txt/

... and not obviously not found there.

I changed the mapleTree version from * to 0.2.x to fix this.

@saambarati

This comment has been minimized.

Show comment
Hide comment
@saambarati

saambarati Oct 3, 2012

Contributor

This is no longer broken in 0.3.x.
I broke it when I first updated to 0.3.0 then fixed it a day later. Sorry about that.

Contributor

saambarati commented Oct 3, 2012

This is no longer broken in 0.3.x.
I broke it when I first updated to 0.3.0 then fixed it a day later. Sorry about that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment