Skip to content

Commit

Permalink
Merge pull request #151 from akakou/hotfix/redirect-path
Browse files Browse the repository at this point in the history
fix: the name
  • Loading branch information
akakou authored Oct 4, 2024
2 parents e6e5bfa + 3543dcd commit 6897881
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ta/example/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"github.com/akakou/ra_webs/ta"
)

const POPUP_PATH = "/app/verification-status/"
const VERIFIER_PATH = "/app/verification-status/"

func main() {
config, err := ta.DefaultConfig()
Expand All @@ -34,7 +34,7 @@ func main() {
fmt.Fprintln(w, `We open verifier....<br/>`)
fmt.Fprint(w, `<script>`)
for _, v := range config.Verifiers {
fmt.Fprintf(w, `open('%v');`, v+POPUP_PATH)
fmt.Fprintf(w, `open('%v');`, v+VERIFIER_PATH)
}
fmt.Fprintln(w, `</script>`)
}
Expand Down

0 comments on commit 6897881

Please sign in to comment.