From 84de160a0918a4ae1dc4af27337dbaab2a864802 Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Fri, 14 Nov 2014 17:36:52 +0800 Subject: [PATCH] add preference handler --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index aa9b178..bea0738 100644 --- a/main.go +++ b/main.go @@ -255,7 +255,7 @@ func main() { http.HandleFunc("/", handlerWrapper(indexHandler)) http.HandleFunc("/start", handlerWrapper(startHandler)) http.HandleFunc("/about", handlerWrapper(aboutHandler)) - http.HandleFunc("/preferenceHandler", handlerWrapper(preferenceHandler)) + http.HandleFunc("/preference", handlerWrapper(preferenceHandler)) http.HandleFunc("/keyboard_shortcuts", handlerWrapper(keyboardShortcutsHandler)) // static resources