mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-02 19:40:19 +08:00
feat: integrate Storage config into providers (#198)
Signed-off-by: Kininaru <shiftregister233@outlook.com>
This commit is contained in:
15
README.md
15
README.md
@ -144,18 +144,3 @@ Now, Casdoor is running on port 8000. You can access Casdoor pages directly in y
|
||||
|
||||
export const GithubRepo = "https://github.com/casbin/casdoor" //your github repository
|
||||
```
|
||||
|
||||
- OSS conf
|
||||
|
||||
We use an OSS to store and provide user avatars. You must modify the file `conf/oss.conf` to tell the backend your OSS info. For OSS providers, we support Aliyun(`[aliyun]`), awss3(`[s3]`) now.
|
||||
|
||||
```
|
||||
[provider]
|
||||
accessId = id
|
||||
accessKey = key
|
||||
bucket = bucket
|
||||
endpoint = endpoint
|
||||
```
|
||||
|
||||
Please fill out this conf correctly, or the avatar server won't work!
|
||||
|
||||
|
Reference in New Issue
Block a user