We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a17cb90 commit c30f5f6Copy full SHA for c30f5f6
config.go
@@ -249,7 +249,7 @@ var defaultConfig = Config{
249
Tunneler: TunnelConfig{
250
Enable: false,
251
TunnelProg: "./path/to/tunnel/program",
252
- OutputRegex: `\bNATedAddr\s+(?<host>[0-9.]+|\[[0-9a-f:]+\]):(?<port>\d+)$`,
+ OutputRegex: `\bNATedAddr\s+(?P<host>[0-9.]+|\[[0-9a-f:]+\]):(?P<port>\d+)$`,
253
TunnelTimeout: 0,
254
},
255
dashboard/src/views/HomeView.vue
@@ -89,7 +89,7 @@ const activeStats = computedAsync(async () => {
89
}
90
const res = await getStat(storageId, token.value)
91
if (res === null) {
92
- return EMPTY_STAT
+ return JSON.parse(JSON.stringify(EMPTY_STAT))
93
94
return res
95
})
0 commit comments