Support custom endpoint for fog