Set proper badge url that handles both prod and dev environments