fix(frontend): correct Pages deployment files route

Align the Pages deployment file-list request with the backend route and add a regression test.
This commit is contained in:
ryan
2026-07-13 09:29:22 +08:00
parent d97581fb1e
commit 439ac41da8
4 changed files with 41 additions and 4 deletions
@@ -45,7 +45,7 @@ function DeploymentFilesPanel({
}) {
const filesQuery = useQuery({
queryKey: deploymentFilesQueryKey(projectId, deployment.id),
queryFn: () => PagesService.listDeploymentFiles(projectId, deployment.id),
queryFn: () => PagesService.listDeploymentFiles(deployment.id),
})
if (filesQuery.isLoading) {