Skip to content

Commit

Permalink
fix runoob
Browse files Browse the repository at this point in the history
  • Loading branch information
fumiama committed Oct 16, 2023
1 parent 6cf9415 commit 78f012e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions runoob/runoob.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@ func (ro RunOOB) Run(code string, lang string, stdin string) (string, error) {

header := http.Header{
"Content-Type": []string{"application/x-www-form-urlencoded; charset=UTF-8"},
"Origin": []string{"https://c.runoob.com"},
"Referer": []string{"https://c.runoob.com/"},
"Origin": []string{"https://www.runoob.com"},
"Referer": []string{"https://www.runoob.com/try/runcode.php?"},
"User-Agent": []string{web.RandUA()},
}

Expand Down

0 comments on commit 78f012e

Please sign in to comment.