perf: 适配arm64

This commit is contained in:
kuaifan 2023-08-01 22:22:44 +08:00
parent 600944fc22
commit bb251c8aee
2 changed files with 7 additions and 4 deletions

View File

@ -102,8 +102,7 @@ services:
fileview:
container_name: "dootask-fileview-${APP_ID}"
image: "kuaifan/fileview:4.1.0-SNAPSHOT-RC20"
platform: linux/amd64
image: "kuaifan/fileview:4.2.0-SNAPSHOT-RC22"
environment:
KK_CONTEXT_PATH: "/fileview"
KK_OFFICE_PREVIEW_SWITCH_DISABLED: true
@ -132,8 +131,7 @@ services:
drawio-export:
container_name: "dootask-drawio-export-${APP_ID}"
image: "kuaifan/export-server:latest"
platform: linux/amd64
image: "kuaifan/export-server:0.0.1"
networks:
extnetwork:
ipv4_address: "${APP_IPPR}.9"

View File

@ -142,6 +142,11 @@ export default {
//
const cloneParams = $A.cloneJSON(params)
return new Promise(async (resolve, reject) => {
// 判断服务器地址
if (/^https*:\/\/public\//.test(params.url)) {
reject({ret: -1, data: {}, msg: "No server address"})
return
}
// 加密传输
const encrypt = []
if (params.encrypt === true) {