mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-03 20:50:19 +08:00
feat: support CUCloud OSS storage provider (#3400)
This commit is contained in:
@ -932,7 +932,7 @@ class ProviderEditPage extends React.Component {
|
||||
</Col>
|
||||
</Row>
|
||||
) : null}
|
||||
{["AWS S3", "Tencent Cloud COS", "Qiniu Cloud Kodo", "Casdoor"].includes(this.state.provider.type) ? (
|
||||
{["AWS S3", "Tencent Cloud COS", "Qiniu Cloud Kodo", "Casdoor", "CUCloud OSS"].includes(this.state.provider.type) ? (
|
||||
<Row style={{marginTop: "20px"}} >
|
||||
<Col style={{marginTop: "5px"}} span={2}>
|
||||
{["Casdoor"].includes(this.state.provider.type) ?
|
||||
|
@ -233,6 +233,10 @@ export const OtherProviderInfo = {
|
||||
logo: `${StaticBaseUrl}/img/casdoor.png`,
|
||||
url: "https://casdoor.org/docs/provider/storage/overview",
|
||||
},
|
||||
"CUCloud OSS": {
|
||||
logo: `${StaticBaseUrl}/img/social_cucloud.png`,
|
||||
url: "https://www.cucloud.cn/product/oss.html",
|
||||
},
|
||||
},
|
||||
SAML: {
|
||||
"Aliyun IDaaS": {
|
||||
@ -1078,6 +1082,7 @@ export function getProviderTypeOptions(category) {
|
||||
{id: "Google Cloud Storage", name: "Google Cloud Storage"},
|
||||
{id: "Synology", name: "Synology"},
|
||||
{id: "Casdoor", name: "Casdoor"},
|
||||
{id: "CUCloud OSS", name: "CUCloud OSS"},
|
||||
]
|
||||
);
|
||||
} else if (category === "SAML") {
|
||||
|
Reference in New Issue
Block a user