Fix cli uploads

This commit is contained in:
Eliot Whalan 2016-07-12 18:33:19 +10:00
parent a2503d4b98
commit 5565d878f7
1 changed files with 1 additions and 0 deletions

View File

@ -386,6 +386,7 @@ func main() {
router.HandleFunc("/p/{pasteId}/{lang}", pasteHandler).Methods("GET")
router.HandleFunc("/clone/{pasteId}", cloneHandler).Methods("GET")
router.HandleFunc("/download/{pasteId}", downloadHandler).Methods("GET")
router.HandleFunc("/p", saveHandler).Methods("POST")
router.HandleFunc("/p/{output}", saveHandler).Methods("POST")
router.HandleFunc("/p/{pasteId}/{delKey}", delHandler).Methods("DELETE")
router.HandleFunc("/", rootHandler)