fix bug where static HTTP files blocked debug endpoint