Skip to content

Commit

Permalink
Release v5.11.14
Browse files Browse the repository at this point in the history
  • Loading branch information
winlinvip committed Nov 8, 2023
1 parent dc9db67 commit 8b1bc4a
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion platform/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
package main

// The version for platform.
const version = "v5.11.13"
const version = "v5.11.14"
2 changes: 1 addition & 1 deletion scripts/setup-aapanel/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"title": "SRS Stack",
"name": "srs_stack",
"ps": "SRS Stack is an all-in-one, one-click, and open-source video solution for creating online services on cloud or self-hosting. Built with SRS, FFmpeg, and WebRTC, it supports various protocols and offers features like authentication, multi-platform streaming, recording, transcoding, virtual live events, automatic HTTPS, and HTTP Open API.",
"versions": "5.11.13",
"versions": "5.11.14",
"checks": "/www/server/panel/plugin/srs_stack",
"author": "Winlin",
"home": "https://github.com/ossrs/srs-stack"
Expand Down
2 changes: 1 addition & 1 deletion scripts/setup-bt/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"title": "SRS音视频服务器",
"name": "srs_stack",
"ps": "SRS Stack让你一键拥有自己的视频云解决方案,可以在云上或私有化部署,支持丰富的音视频协议,提供鉴权、私人直播间、多平台转播、录制、转码、虚拟直播、自动HTTPS、开放API等丰富功能,基于SRS、FFmpeg和WebRTC构建。",
"versions": "5.11.13",
"versions": "5.11.14",
"checks": "/www/server/panel/plugin/srs_stack",
"author": "Winlin",
"home": "https://github.com/ossrs/srs-stack"
Expand Down
2 changes: 1 addition & 1 deletion scripts/setup-droplet/srs.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"do_token": "{{env `DIGITALOCEAN_TOKEN`}}",
"image_name": "srs-5-snapshot-{{timestamp}}",
"application_name": "SRS",
"application_version": "5.11.13"
"application_version": "5.11.14"
},
"sensitive-variables": ["do_token"],
"builders": [
Expand Down
14 changes: 7 additions & 7 deletions test/api_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -569,17 +569,17 @@ func TestApi_SrsApiCorsNoOrigin(t *testing.T) {
for _, header := range []struct {
Key, Value string
}{
{"Access-Control-Allow-Origin", ""},
{"Access-Control-Allow-Headers", ""},
{"Access-Control-Allow-Methods", ""},
{"Access-Control-Expose-Headers", ""},
{"Access-Control-Allow-Credentials", ""},
{"Access-Control-Allow-Origin", "*"},
{"Access-Control-Allow-Headers", "*"},
{"Access-Control-Allow-Methods", "*"},
{"Access-Control-Expose-Headers", "*"},
{"Access-Control-Allow-Credentials", "true"},
} {
if value := resp.Header.Get(header.Key); value != header.Value {
r1 = errors.Errorf("invalid CORS %v=%v, expect %v", header.Key, header.Value, value)
}
if values := resp.Header.Values(header.Key); len(values) != 0 {
r1 = errors.Errorf("invalid CORS %v=%v, expect no one", header.Key, values)
if values := resp.Header.Values(header.Key); len(values) != 1 {
r1 = errors.Errorf("invalid CORS %v=%v, expect only one", header.Key, values)
}
}
}
Expand Down

0 comments on commit 8b1bc4a

Please sign in to comment.