mirror of
https://github.com/fatedier/frp.git
synced 2026-03-20 00:39:15 +08:00
Support reverseproxy to dashboard with additional parts in path (#2289)
/api/ -> ../api/ in vendor.js
Support reverseproxy to dashboard with addtional parts in path.
This commit is contained in:
@@ -78,7 +78,7 @@
|
||||
},
|
||||
methods: {
|
||||
fetchData() {
|
||||
fetch('/api/serverinfo', {credentials: 'include'})
|
||||
fetch('../api/serverinfo', {credentials: 'include'})
|
||||
.then(res => {
|
||||
return res.json()
|
||||
}).then(json => {
|
||||
|
||||
Reference in New Issue
Block a user