Skip to content
This repository has been archived by the owner on Dec 17, 2024. It is now read-only.

Commit

Permalink
bug: add clipboard request reverse proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
kaylezhangzhaoLin committed Oct 19, 2022
1 parent bd7acd1 commit ed9e657
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ func mux(sse *sse.SseBroker) http.Handler {
mux.HandleFunc("/wd/hub/", func(w http.ResponseWriter, r *http.Request) {
reverseProxy(webdriverURI).ServeHTTP(w, r)
})
mux.HandleFunc("/clipboard/", func(w http.ResponseWriter, r *http.Request) {
reverseProxy(webdriverURI).ServeHTTP(w, r)
})
return mux
}

Expand Down

0 comments on commit ed9e657

Please sign in to comment.