1
0
mirror of https://github.com/schollz/cowyo.git synced 2023-08-10 21:13:00 +03:00

Removed case senstivity from savin

This commit is contained in:
Zack Scholl
2016-02-08 01:37:46 +00:00
parent 179cf911ca
commit fe69bdee4f
3 changed files with 3 additions and 3 deletions

View File

@ -4,6 +4,7 @@ import (
"encoding/json"
"fmt"
"net/http"
"strings"
"github.com/gorilla/websocket"
)
@ -40,7 +41,7 @@ func wshandler(w http.ResponseWriter, r *http.Request) {
}
var p CowyoData
err = p.load(m.Title)
err = p.load(strings.ToLower(m.Title))
if err != nil {
panic(err)
}