mirror of
https://github.com/tsl0922/ttyd.git
synced 2025-12-21 19:34:19 +01:00
html: use api to fetch auth token
This commit is contained in:
@@ -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
|
||||
}]
|
||||
|
||||
Reference in New Issue
Block a user