mirror of
https://github.com/transmission/transmission.git
synced 2026-04-17 23:54:19 +01:00
(trunk gtk) #4014 "409 error when opening .../transmission/web without trailing '/'" -- use suggestion from Mezz to have the "open web client" button in the GTK+ client follow the same URL as the Qt client
This commit is contained in:
@@ -739,7 +739,7 @@ static void
|
||||
onLaunchClutchCB( GtkButton * w UNUSED, gpointer data UNUSED )
|
||||
{
|
||||
const int port = gtr_pref_int_get( TR_PREFS_KEY_RPC_PORT );
|
||||
char * uri = g_strdup_printf( "http://localhost:%d/transmission/web", port );
|
||||
char * uri = g_strdup_printf( "http://localhost:%d/", port );
|
||||
|
||||
gtr_open_uri( uri );
|
||||
g_free( uri );
|
||||
|
||||
Reference in New Issue
Block a user