fix: stabilize review detail and collabora loading
This commit is contained in:
@@ -87,9 +87,8 @@ function buildCollaboraIframeUrl(params: {
|
||||
}): string {
|
||||
const { collaboraUrl, wopiSrc, accessToken, mode } = params;
|
||||
|
||||
// Collabora iframe 基础 URL
|
||||
// fa80579 是 Collabora 的版本号标识,实际部署时可能需要调整
|
||||
const baseUrl = `${collaboraUrl}/browser/fa80579/cool.html`;
|
||||
// 使用稳定的 dist 入口,避免 Collabora 升级后版本号路径失效。
|
||||
const baseUrl = `${collaboraUrl}/browser/dist/cool.html`;
|
||||
|
||||
const url = new URL(baseUrl);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user