UI && copy image on web

FileReader只能在web端, 不能在nodejs端, 之前可以的啊?
This commit is contained in:
life
2015-03-02 21:56:42 +08:00
parent 0ba0cca725
commit c2adc45da6
149 changed files with 614 additions and 113 deletions

1
node_modules/server.js generated vendored
View File

@@ -110,6 +110,7 @@ var Server = {
var me = this;
var ext = path.extname(filePath);
ext = ext ? ext.slice(1) : 'unknown';
filePath = filePath + '';
fs.readFile(filePath, "binary", function (err, file) {
if (err) {
res.writeHead(500, {