mirror of
https://github.com/v2rayA/v2rayA.git
synced 2026-11-20 23:02:25 +03:00
Import guessed from the URL scheme. Commit3fd0e882added http and https to the server prefixes so that http proxy nodes were not stored as subscriptions, and from then on every http(s) subscription address was parsed as a proxy node and failed with "ResolveURL failed: invalid parameters". POST /api/import now takes "kind": "server" or "subscription". Import is split into ImportServer and ImportSubscription; the old scheme-guessing Import remains for requests without kind, with http and https back on the subscription side as before3fd0e882. The v4 migration calls the explicit functions since it knows which list each address came from. The GUI side (a server link / subscription address toggle that sends kind) is in the gui branch.