mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-02-05 16:04:15 +00:00
define default port const for gemini socket client
This commit is contained in:
parent
a342940d2c
commit
b35f70b1db
@ -283,7 +283,7 @@ void Page::navigation_reload(
|
||||
g_uri_to_string(
|
||||
uri
|
||||
),
|
||||
1965, // default port @TODO
|
||||
Socket::Client::Gemini::DEFAULT_PORT,
|
||||
[this](const Glib::RefPtr<Gio::AsyncResult> & RESULT)
|
||||
{
|
||||
// Update
|
||||
|
@ -96,6 +96,8 @@ namespace app::browser::main::tab
|
||||
|
||||
struct Gemini
|
||||
{
|
||||
static const int DEFAULT_PORT = 1965;
|
||||
|
||||
static Glib::RefPtr<Gio::SocketClient> create();
|
||||
};
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user