瀏覽代碼

chore: generate

opencode-agent[bot] 3 月之前
父節點
當前提交
acca8864ba
共有 1 個文件被更改,包括 1 次插入3 次删除
  1. 1 3
      packages/console/app/src/lib/stats-proxy.ts

+ 1 - 3
packages/console/app/src/lib/stats-proxy.ts

@@ -33,7 +33,5 @@ export async function statsProxy(evt: APIEvent) {
 }
 }
 
 
 function rewriteStatsHtml(html: string) {
 function rewriteStatsHtml(html: string) {
-  return html
-    .replaceAll("\"/_build/", "\"/stats/_build/")
-    .replaceAll("'/_build/", "'/stats/_build/")
+  return html.replaceAll('"/_build/', '"/stats/_build/').replaceAll("'/_build/", "'/stats/_build/")
 }
 }