html: add .editorconfig

This commit is contained in:
Shuanglei Tao
2018-05-02 23:49:18 +08:00
parent 68b58829cd
commit b08fee3392
7 changed files with 112 additions and 101 deletions

11
html/.editorconfig Normal file
View File

@@ -0,0 +1,11 @@
root = true
[*]
indent_style = space
indent_size = 4
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.md]
trim_trailing_whitespace = false

View File

@@ -19,11 +19,11 @@ module.exports = merge(config, {
var ttydProxy = proxy(
[
'/ws',
'/auth_token.js'
'/auth_token.js',
],
{
target: 'http://127.0.0.1:7681',
ws: true
ws: true,
}
);
app.use(convert(ttydProxy));