Fix for serving non-html static files

The handling of non-html static files was broken, this points to the correct variable.