fix nonrelative paths

A few nonrelative paths were making this fail behind an nginx reverse proxy.