perf: 优化docker配置

This commit is contained in:
kuaifan
2025-03-21 10:51:40 +08:00
parent 193ad8d902
commit 9716d7fe43
9 changed files with 32 additions and 57 deletions

View File

@@ -1510,7 +1510,7 @@ class SystemController extends AbstractController
}
// 添加office资源
$officePath = '';
$officeApi = 'http://' . env('APP_IPPR') . '.6/web-apps/apps/api/documents/api.js';
$officeApi = 'http://office/web-apps/apps/api/documents/api.js';
$content = @file_get_contents($officeApi);
if ($content) {
if (preg_match("/const\s+ver\s*=\s*'\/*([^']+)'/", $content, $matches)) {