html: use api to fetch auth token

This commit is contained in:
Shuanglei Tao
2020-02-06 17:24:00 +08:00
parent 463da8352e
commit 6bbe4db775
9 changed files with 8564 additions and 8350 deletions

View File

@@ -73,7 +73,7 @@ const devConfig = {
compress: true,
port: 9000,
proxy: [{
context: ['/auth_token.js', '/ws'],
context: ['/token', '/ws'],
target: 'http://localhost:7681',
ws: true
}]