How to restore the remote flathub to the default url?

I used

$ sudo flatpak remote-modify flathub --url=https://...

to change the flathub to a mirror in order to increase the connection speed of flatpak but failed. How can I change back to the original/default one?

you are talking about flathub, not Fedora’s remote, right?

Then just remove the broken remote and add flathub with flatpak remote-add --if-not-exists flathub

1 Like