Skip to content

Commit

Permalink
remove Referer header
Browse files Browse the repository at this point in the history
  • Loading branch information
atavism committed Jun 24, 2024
1 parent 54aec32 commit b2e0b09
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion internalsdk/pro/pro.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ func NewClient(baseURL string, opts *Opts) ProClient {
func prepareProRequest(userConfig func() common.UserConfig) func(client *resty.Client, req *http.Request) error {
return func(client *resty.Client, req *http.Request) error {
uc := userConfig()
req.Header.Set("Referer", "http://localhost:37457/")
req.Header.Set("Access-Control-Allow-Headers", strings.Join([]string{
common.DeviceIdHeader,
common.ProTokenHeader,
Expand Down

0 comments on commit b2e0b09

Please sign in to comment.