if debug = true, return the static url