Skip to content

Commit

Permalink
Fix Proxy setting
Browse files Browse the repository at this point in the history
  • Loading branch information
Ysurac committed Oct 4, 2023
1 parent 4e78d8a commit 1a7fe05
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
6 changes: 6 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
omr-vps-admin (0.4+20231004) unstable; urgency=medium

* Fix Proxy configuration setting

-- OpenMPTCProuter <[email protected]> Wed, 04 Oct 2023 15:32:25 +0200

omr-vps-admin (0.4+20230929) unstable; urgency=medium

* Fix XRay traffic stats
Expand Down
11 changes: 11 additions & 0 deletions omr-admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -2465,8 +2465,19 @@ def vpn(*, vpnconfig: Vpn, current_user: User = Depends(get_current_user)):

class PROXY(str, Enum):
v2ray = "v2ray"
v2rayvless = "v2ray-vless"
v2rayvmess = "v2ray-vmess"
v2raysocks = "v2ray-socks"
v2raytrojan = "v2ray-trojan"
xray = "xray"
xrayvless = "xray-vless"
xrayvmess = "xray-vmess"
xraysocks = "xray-socks"
xraytrojan = "xray-trojan"
xrayshadowsocks = "xray-shadowsocks"
shadowsockslibev = "shadowsocks"
shadowsocksgo = "shadowsocks-go"
shadowsocksrust = "shadowsocks-rust"
none = "none"

class Proxy(BaseModel):
Expand Down

0 comments on commit 1a7fe05

Please sign in to comment.