mirror of
https://github.com/fatedier/frp.git
synced 2026-03-24 17:18:22 +08:00
web: support http basic auth in dashboard
This commit is contained in:
@@ -66,7 +66,7 @@
|
||||
},
|
||||
methods: {
|
||||
fetchData() {
|
||||
fetch('/api/serverinfo')
|
||||
fetch('/api/serverinfo', {credentials: 'include'})
|
||||
.then(res => {
|
||||
return res.json()
|
||||
}).then(json => {
|
||||
|
||||
Reference in New Issue
Block a user