Skip to content
This repository has been archived by the owner on Sep 13, 2023. It is now read-only.

Commit

Permalink
experiment
Browse files Browse the repository at this point in the history
  • Loading branch information
Antonio committed Jun 29, 2023
1 parent 5c28bf2 commit e9d900d
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion funcaptcha
Submodule funcaptcha updated from 43552f to 8827dd
4 changes: 3 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.20
require (
github.com/acheong08/OpenAIAuth v0.0.0-20230530050836-f2a06cd52911
github.com/acheong08/endless v0.0.0-20230529075213-74050cf641c8
github.com/acheong08/funcaptcha v0.2.1-0.20230629084009-43552f77d69a
github.com/acheong08/funcaptcha v0.2.1-0.20230629155243-2d44215f1e5f
github.com/bogdanfinn/fhttp v0.5.23
github.com/bogdanfinn/tls-client v1.4.0
github.com/gin-gonic/gin v1.9.0
Expand Down Expand Up @@ -42,3 +42,5 @@ require (
google.golang.org/protobuf v1.30.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)

replace github.com/acheong08/funcaptcha => ./funcaptcha
4 changes: 4 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ github.com/acheong08/funcaptcha v0.2.1-0.20230629044031-084e7dfaffef h1:B5fq4j+Q
github.com/acheong08/funcaptcha v0.2.1-0.20230629044031-084e7dfaffef/go.mod h1:VupbjtVAODvgyAB3Zo86fOA53G+UAmaV/Rk9jUCGuTU=
github.com/acheong08/funcaptcha v0.2.1-0.20230629084009-43552f77d69a h1:fmOHjUNCWC0iYzn0giYkDYIppIaCfmdn4UqFXZRbL4E=
github.com/acheong08/funcaptcha v0.2.1-0.20230629084009-43552f77d69a/go.mod h1:VupbjtVAODvgyAB3Zo86fOA53G+UAmaV/Rk9jUCGuTU=
github.com/acheong08/funcaptcha v0.2.1-0.20230629154526-a513e1971666 h1:dpoaa+q6IMacHMeOsYdH6PeOhzMrvARWiE5TeK5/VyM=
github.com/acheong08/funcaptcha v0.2.1-0.20230629154526-a513e1971666/go.mod h1:VupbjtVAODvgyAB3Zo86fOA53G+UAmaV/Rk9jUCGuTU=
github.com/acheong08/funcaptcha v0.2.1-0.20230629155243-2d44215f1e5f h1:LalZODMl6htSW6kVYz9KOYQ8cmvReVcMoKsL4NjabLY=
github.com/acheong08/funcaptcha v0.2.1-0.20230629155243-2d44215f1e5f/go.mod h1:VupbjtVAODvgyAB3Zo86fOA53G+UAmaV/Rk9jUCGuTU=
github.com/andybalholm/brotli v1.0.5 h1:8uQZIdzKmjc/iuPu7O2ioW48L81FgatrcpfFmiq/cCs=
github.com/andybalholm/brotli v1.0.5/go.mod h1:fO7iG3H7G2nSZ7m0zPUDn85XEX2GTukHGRSepvi9Eig=
github.com/bogdanfinn/fhttp v0.5.23 h1:4Xb5OjYArB8GpnUw4A4r5jmt8UW0/Cvey3R9nS2dC9U=
Expand Down
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,8 @@ func main() {

func proxy(c *gin.Context) {
if c.Request.URL.Path == "/api/arkose" {
arkose_form := arkose.GetForm()
c.JSON(200, gin.H{"form": arkose_form})
arkose_form, hex := arkose.GetForm()
c.JSON(200, gin.H{"form": arkose_form, "hex": hex})
return
}

Expand Down

0 comments on commit e9d900d

Please sign in to comment.