diff --git a/lib/client/storage/_github.js b/lib/client/storage/_github.js index 46b03b89..4576fa9d 100644 --- a/lib/client/storage/_github.js +++ b/lib/client/storage/_github.js @@ -124,7 +124,7 @@ var CloudCmd, Util, DOM, CloudFunc, Github, cb; * function creates gist */ GitHub.uploadFile = function(params, callback) { - var gist, files, host, options, + var gist, files, options, content = params.data, name = params.name; @@ -134,11 +134,10 @@ var CloudCmd, Util, DOM, CloudFunc, Github, cb; if (!name) name = Util.getDate(); - gist = GH.getGist(), - files = {}, - host = CloudCmd.HOST, + gist = GH.getGist(); + files = {}; options = { - description: 'Uplouded by Cloud Commander from ' + host, + description: 'Uplouded by http://cloudcmd.io', public: true };