diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d168a4f246..b0f0f9e12d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -84,7 +84,7 @@ jobs: cd x-ui/bin # Download dependencies - Xray_URL="https://github.com/XTLS/Xray-core/releases/download/v1.8.15/" + Xray_URL="https://github.com/XTLS/Xray-core/releases/download/v1.8.17/" if [ "${{ matrix.platform }}" == "amd64" ]; then wget ${Xray_URL}Xray-linux-64.zip unzip Xray-linux-64.zip diff --git a/config/version b/config/version index 7b378be306..ff2fd4fbef 100644 --- a/config/version +++ b/config/version @@ -1 +1 @@ -1.8.4 \ No newline at end of file +1.8.5 \ No newline at end of file diff --git a/web/session/session.go b/web/session/session.go index 10cd5883a6..36805bde8b 100644 --- a/web/session/session.go +++ b/web/session/session.go @@ -20,6 +20,7 @@ func init() { func SetLoginUser(c *gin.Context, user *model.User) error { s := sessions.Default(c) s.Options(sessions.Options{ + Path: "/", HttpOnly: true, }) s.Set(loginUser, user)