diff options
Diffstat (limited to 'api/file.go')
-rw-r--r-- | api/file.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api/file.go b/api/file.go index ca2aeee20..6cda48866 100644 --- a/api/file.go +++ b/api/file.go @@ -529,7 +529,7 @@ func getPublicLink(c *Context, w http.ResponseWriter, r *http.Request) { return } - w.Write([]byte(url)) + w.Write([]byte(model.StringToJson(url))) } func getExport(c *Context, w http.ResponseWriter, r *http.Request) { |