Skip to content
This repository has been archived by the owner on Apr 20, 2019. It is now read-only.

Commit

Permalink
Merge pull request #12 from peterbe/dont-defer-panic-certain-things
Browse files Browse the repository at this point in the history
dont defer panic certain things
  • Loading branch information
Peter Bengtsson committed Sep 8, 2015
2 parents 74d6e94 + b35779a commit 6d140ec
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ cover.out
gin-bin
/server
/autocompeter
/run-dev-server.sh
2 changes: 1 addition & 1 deletion sampleloader/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ autocompeter.com home page.

How I load in all blog posts for local development:

./populate.py --flush -d 8 --destination="http://localhost:3000" --domain="localhost:3000" --bulk
./populate.py --flush -d 8 --destination="http://localhost:3000" --domain="localhost:3000"


Then to check it run:
Expand Down
4 changes: 2 additions & 2 deletions server.go
Original file line number Diff line number Diff line change
Expand Up @@ -375,8 +375,8 @@ func main() {
mux.HandleFunc("/login", dfs.HTTPHandler(handleGitHubLogin)).Methods("GET")
mux.HandleFunc("/logout", dfs.HTTPHandler(logoutHandler)).Methods("GET", "POST")
mux.HandleFunc("/github_oauth_cb", dfs.HTTPHandler(handleGitHubCallback)).Methods("GET")
mux.HandleFunc("/domainkeys/new", dfs.HTTPHandler(domainkeyNewHandler)).Methods("POST")
mux.HandleFunc("/domainkeys/delete", dfs.HTTPHandler(domainkeyDeleteHandler)).Methods("POST")
mux.HandleFunc("/domainkeys/new", domainkeyNewHandler).Methods("POST")
mux.HandleFunc("/domainkeys/delete", domainkeyDeleteHandler).Methods("POST")

n := negroni.Classic()

Expand Down

0 comments on commit 6d140ec

Please sign in to comment.