This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
在系统中使用S3配置OSS,参考如下:
Cos: { s3: { accessKey: "admin", // 指定endpoint,用于S3兼容服务,若使用AWS S3,则无需指定 endpoint: 'ip:9000', buckets: [ { zone: 'admin', name: 'test-admin', domain: 'ip:9000', protocol: 'http:', // 若使用 MinIO,必须开启pathStyle pathStyle: true, }, ], defaultBucket: 'test', } }, Account: { s3: [ { accessKey: "admin", secretKey: "admin", } ] },
然后需要在上传组件中指定origin={"s3"}
首页
应用系统的设计与升级
Deleting the wiki page "COS配置项记录" cannot be undone. Continue?