feat: fix home page (#2236)

* fix: home page

* fix: home page
This commit is contained in:
Yaodong Yu
2023-08-20 00:58:39 +08:00
committed by GitHub
parent 25ec1bdfa8
commit f0e097e138
26 changed files with 640 additions and 309 deletions

View File

@ -14,8 +14,8 @@
import * as Setting from "../Setting";
export function getDashboard(owner, name) {
return fetch(`${Setting.ServerUrl}/api/get-dashboard`, {
export function getDashboard(owner) {
return fetch(`${Setting.ServerUrl}/api/get-dashboard?owner=${owner}`, {
method: "GET",
credentials: "include",
headers: {