add webclientv2
This commit is contained in:
1 parent
78869a4a57
commit
22e470fee5
4 files changed
+24
No files matched your search
@@ -17,6 +17,8 @@ func (i *Index) ConfigJs(c *gin.Context) {
|
||||
|
||||
tmp := `
|
||||
localStorage.setItem('api-server', "` + apiServer + `")
|
||||
const ws2_prefix = 'wc-'
|
||||
localStorage.setItem(ws2_prefix+'api-server', "` + apiServer + `")
|
||||
`
|
||||
c.String(200, tmp)
|
||||
}
|
||||
Reference in new issue
Block a user