afbobak / nopar

Node PAckage Registry
http://afbobak.github.io/nopar/
Other
42 stars 13 forks source link

Nopar dislikes the css package? #7

Closed FarmerJack closed 11 years ago

FarmerJack commented 11 years ago

I was having a difficult time getting nopar to cache 'css' app from the registry. (https://npmjs.org/package/css)

Then i noticed this in pkg.js around line 118

var packagename = req.params.packagename;
if (packagename === "css") {
  return next();
}

Is there a reason that the css package is not allowed?

afbobak commented 11 years ago

Originally I delivered css-files for the admin GUI from /css, but that's changed to /-/css. Should be save to remove that quirk.

afbobak commented 11 years ago

Should be fixed with commit 14555cc26aa71fb7e27de3b604c42f2c0f14953c, also pushed release 0.3.3 which has this in. Please try.