How to use path_prefixes in Phoenix.VefifiedRoutes for dynamic routers in 1.18?

Hello Folks,

How to use Phoenix VefifiedRoutes path_prefixes (Phoenix.VerifiedRoutes — Phoenix v1.8.0-rc.4), when i try something like that on my MyAppWeb like:

  def verified_routes do
    quote do
      use Phoenix.VerifiedRoutes,
        endpoint: MyAppWeb.Endpoint,
        router: MyAppWeb.Router,
        statics: MyAppWeb.static_paths(),
        path_prefixes: [{MyApp.Tenant, :get_path, [@tenant]}]
    end
  end

but the static path lost the host part or add two slashs in prefix and can’t render.
and the @tenant is not understand by the code…

i need some routes like, http://sub.myurl.com/tenant/ ← when the tenant is dynamic
in almost all routes.