Skip to content

Commit

Permalink
chore: 修改接口路由
Browse files Browse the repository at this point in the history
  • Loading branch information
OverNaive committed May 13, 2021
1 parent 873cc22 commit 03ce97b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/html2x.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@ func main() {
WriteTimeout: 10 * time.Second,
}

http.HandleFunc("/html-to-pdf", htmlToPdf)
http.HandleFunc("/html-to-img", htmlToImg)
http.HandleFunc("/wk/html-to-pdf", htmlToPdf)
http.HandleFunc("/wk/html-to-img", htmlToImg)

log.Fatal(s.ListenAndServe())
}

0 comments on commit 03ce97b

Please sign in to comment.