mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
define default port const for gemini socket client
This commit is contained in:
parent
a342940d2c
commit
b35f70b1db
2 changed files with 3 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue