diff --git a/tmpl/auth.hbs b/html/auth.html
similarity index 100%
rename from tmpl/auth.hbs
rename to html/auth.html
diff --git a/tmpl/auth/dropbox.hbs b/html/auth/dropbox.html
similarity index 100%
rename from tmpl/auth/dropbox.hbs
rename to html/auth/dropbox.html
diff --git a/tmpl/auth/github.hbs b/html/auth/github.html
similarity index 100%
rename from tmpl/auth/github.hbs
rename to html/auth/github.html
diff --git a/tmpl/fs/index.hbs b/html/index.html
similarity index 100%
rename from tmpl/fs/index.hbs
rename to html/index.html
diff --git a/lib/client.js b/lib/client.js
index 2caf9596..e556fd6f 100644
--- a/lib/client.js
+++ b/lib/client.js
@@ -1,6 +1,6 @@
var Util, DOM, CloudFunc, join;
-(function(scope, Util, DOM, CloudFunc, join) {
+(function(scope, Util, DOM, CloudFunc) {
'use strict';
scope.CloudCmd = new CloudCmdProto(Util, DOM, CloudFunc);
@@ -515,4 +515,4 @@ var Util, DOM, CloudFunc, join;
}
}
-})(this, Util, DOM, CloudFunc, join);
+})(this, Util, DOM, CloudFunc);
diff --git a/lib/server/route.js b/lib/server/route.js
index 94708efe..3572440e 100644
--- a/lib/server/route.js
+++ b/lib/server/route.js
@@ -2,10 +2,11 @@
'use strict';
var DIR = __dirname + '/../../',
- DIR_HTML = DIR + 'tmpl/',
+ DIR_TMPL = DIR + 'tmpl/',
+ DIR_HTML = DIR + 'html/',
DIR_LIB = DIR + 'lib/',
DIR_SERVER = __dirname + '/',
- DIR_FS = DIR_HTML + 'fs/',
+ DIR_FS = DIR_TMPL + 'fs/',
fs = require('fs'),
@@ -23,7 +24,7 @@
CloudFunc = require(DIR_LIB + 'cloudfunc'),
- PATH_INDEX = DIR_FS + 'index.hbs',
+ PATH_INDEX = DIR_HTML + 'index.html',
TMPL_PATH = [
'file',
@@ -144,7 +145,7 @@
response : response,
gzip : true,
name : name,
- mime : 'text/html'
+ //mime : 'text/html'
};
if (!isAuth && !isFS)