mirror of
https://github.com/woodchen-ink/random-api-go.git
synced 2025-07-18 13:52:02 +08:00
fix(public): update metrics API endpoint for consistency
This commit is contained in:
parent
260bddb56b
commit
454fe7380f
@ -210,7 +210,7 @@
|
|||||||
|
|
||||||
async function loadMetrics() {
|
async function loadMetrics() {
|
||||||
try {
|
try {
|
||||||
const response = await fetch('/api/metrics');
|
const response = await fetch('/metrics');
|
||||||
const data = await response.json();
|
const data = await response.json();
|
||||||
|
|
||||||
// 添加数据验证
|
// 添加数据验证
|
||||||
|
Loading…
x
Reference in New Issue
Block a user