Update misc.go

DRying up the urlhost