mirror of
https://github.com/fatedier/frp.git
synced 2026-04-21 08:29:10 +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:
@@ -14,7 +14,7 @@ export default {
|
||||
//},
|
||||
methods: {
|
||||
fetchData() {
|
||||
let url = '/api/traffic/' + this.proxy_name
|
||||
let url = '../api/traffic/' + this.proxy_name
|
||||
fetch(url, {credentials: 'include'})
|
||||
.then(res => {
|
||||
return res.json()
|
||||
|
||||
Reference in New Issue
Block a user