Skip to content

Commit

Permalink
fix: playback for servirtium
Browse files Browse the repository at this point in the history
  • Loading branch information
duong-se committed Sep 19, 2020
1 parent f13e335 commit b5cf050
Show file tree
Hide file tree
Showing 5 changed files with 736 additions and 211 deletions.
1 change: 0 additions & 1 deletion cmd/todobackend_compatibility.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ func main() {
regexp.MustCompile("http://localhost:61417"): "https://todo-backend-sinatra.herokuapp.com",
regexp.MustCompile("localhost:61417"): "todo-backend-sinatra.herokuapp.com",
})
regexp.MustCompile("https")
servirtium.SetCallerResponseHeaderReplacements(map[*regexp.Regexp]string{
regexp.MustCompile("https://todo-backend-sinatra.herokuapp.com"): "http://localhost:61417",
regexp.MustCompile("todo-backend-sinatra.herokuapp.com"): "localhost:61417",
Expand Down
Loading

0 comments on commit b5cf050

Please sign in to comment.