diff --git a/packages/data-center/src/provider/affine/apis/workspace.ts b/packages/data-center/src/provider/affine/apis/workspace.ts index 6ac1d63c92..c8eebd01ea 100644 --- a/packages/data-center/src/provider/affine/apis/workspace.ts +++ b/packages/data-center/src/provider/affine/apis/workspace.ts @@ -176,7 +176,7 @@ export async function downloadWorkspace( published = false ): Promise { if (published) { - return bareClient.get(`api/workspace/${workspaceId}/doc`).arrayBuffer(); + return bareClient.get(`api/public/doc/${workspaceId}`).arrayBuffer(); } return client.get(`api/workspace/${workspaceId}/doc`).arrayBuffer(); }