personal as default and diabled git and port pages
This commit is contained in:
@@ -96,15 +96,14 @@ func main() {
|
||||
flag.Parse()
|
||||
|
||||
http.HandleFunc("/styles.css", Styles)
|
||||
http.HandleFunc("/", Home)
|
||||
http.HandleFunc("/about", About)
|
||||
http.HandleFunc("/portfolio", Portfolio)
|
||||
http.HandleFunc("/", About)
|
||||
//http.HandleFunc("/portfolio", Portfolio)
|
||||
http.HandleFunc("/infra", Infra)
|
||||
http.HandleFunc("/cyber", Cyber)
|
||||
http.HandleFunc("/gitpage", GitPage)
|
||||
http.HandleFunc("/gitpage/TicTacToe", GitPageTicTacToe)
|
||||
http.HandleFunc("/trades", TradesHandler)
|
||||
http.HandleFunc("/api/prices", PricesHandler)
|
||||
//http.HandleFunc("/gitpage", GitPage)
|
||||
//http.HandleFunc("/gitpage/TicTacToe", GitPageTicTacToe)
|
||||
//http.HandleFunc("/trades", TradesHandler)
|
||||
//http.HandleFunc("/api/prices", PricesHandler)
|
||||
|
||||
fmt.Printf("running on http://localhost:%s/\n", *port)
|
||||
if err := http.ListenAndServe(":"+*port, nil); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user