bleedingwolf / Ratpack

A micro web framework for Groovy
Other
210 stars 4 forks source link

Serving of static files/NPE on favicon when missing #15

Closed jwill closed 13 years ago

jwill commented 13 years ago

This commit fixes serving of static files when the public config setting is set.

Removed an undeclared variable from staticFileFrom and forced cast from File->URI->URL.

b98fdab fixes a bug where a NPE is thrown on favicons if they aren't in the routing table. Added a safe navigation operator.

jwill commented 13 years ago

b98fdab fixes a bug where a NPE is thrown on favicons if they aren't in the routing table. Added a safe navigation operator.