Fixed JSONP format (added semicolon) (#2007)
* Fixed JSONP format (added semicolon) * render_test fix
This commit is contained in:
committed by
Bo-Yi Wu
parent
6ece26c7c5
commit
01ca625b98
+1
-1
@@ -138,7 +138,7 @@ func (r JsonpJSON) Render(w http.ResponseWriter) (err error) {
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
_, err = w.Write([]byte(")"))
|
||||
_, err = w.Write([]byte(");"))
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user