mirror of
https://github.com/tsl0922/ttyd.git
synced 2025-12-23 12:14:20 +01:00
html: add .editorconfig
This commit is contained in:
11
html/.editorconfig
Normal file
11
html/.editorconfig
Normal 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
|
||||||
@@ -19,11 +19,11 @@ module.exports = merge(config, {
|
|||||||
var ttydProxy = proxy(
|
var ttydProxy = proxy(
|
||||||
[
|
[
|
||||||
'/ws',
|
'/ws',
|
||||||
'/auth_token.js'
|
'/auth_token.js',
|
||||||
],
|
],
|
||||||
{
|
{
|
||||||
target: 'http://127.0.0.1:7681',
|
target: 'http://127.0.0.1:7681',
|
||||||
ws: true
|
ws: true,
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
app.use(convert(ttydProxy));
|
app.use(convert(ttydProxy));
|
||||||
|
|||||||
Reference in New Issue
Block a user