mirror of
https://github.com/Snawoot/opera-proxy.git
synced 2025-09-02 02:30:21 +00:00
bump defaults
This commit is contained in:
parent
5a23e1b36f
commit
0b6a512fe8
2 changed files with 9 additions and 9 deletions
2
main.go
2
main.go
|
@ -26,7 +26,7 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
API_DOMAIN = "api.sec-tunnel.com"
|
API_DOMAIN = "api2.sec-tunnel.com"
|
||||||
PROXY_SUFFIX = "sec-tunnel.com"
|
PROXY_SUFFIX = "sec-tunnel.com"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -32,12 +32,12 @@ type SEEndpoints struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
var DefaultSEEndpoints = SEEndpoints{
|
var DefaultSEEndpoints = SEEndpoints{
|
||||||
RegisterSubscriber: "https://api.sec-tunnel.com/v4/register_subscriber",
|
RegisterSubscriber: "https://api2.sec-tunnel.com/v4/register_subscriber",
|
||||||
SubscriberLogin: "https://api.sec-tunnel.com/v4/subscriber_login",
|
SubscriberLogin: "https://api2.sec-tunnel.com/v4/subscriber_login",
|
||||||
RegisterDevice: "https://api.sec-tunnel.com/v4/register_device",
|
RegisterDevice: "https://api2.sec-tunnel.com/v4/register_device",
|
||||||
DeviceGeneratePassword: "https://api.sec-tunnel.com/v4/device_generate_password",
|
DeviceGeneratePassword: "https://api2.sec-tunnel.com/v4/device_generate_password",
|
||||||
GeoList: "https://api.sec-tunnel.com/v4/geo_list",
|
GeoList: "https://api2.sec-tunnel.com/v4/geo_list",
|
||||||
Discover: "https://api.sec-tunnel.com/v4/discover",
|
Discover: "https://api2.sec-tunnel.com/v4/discover",
|
||||||
}
|
}
|
||||||
|
|
||||||
type SESettings struct {
|
type SESettings struct {
|
||||||
|
@ -50,9 +50,9 @@ type SESettings struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
var DefaultSESettings = SESettings{
|
var DefaultSESettings = SESettings{
|
||||||
ClientVersion: "Stable 74.0.3911.232",
|
ClientVersion: "Stable 114.0.5282.21",
|
||||||
ClientType: "se0316",
|
ClientType: "se0316",
|
||||||
UserAgent: "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.192 Safari/537.36 OPR/74.0.3911.232",
|
UserAgent: "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 OPR/114.0.0.0",
|
||||||
DeviceName: "Opera-Browser-Client",
|
DeviceName: "Opera-Browser-Client",
|
||||||
OperatingSystem: "Windows",
|
OperatingSystem: "Windows",
|
||||||
Endpoints: DefaultSEEndpoints,
|
Endpoints: DefaultSEEndpoints,
|
||||||
|
|
Loading…
Add table
Reference in a new issue