diff --git a/IRaCIS.Core.API/appsettings.Test_IRC.json b/IRaCIS.Core.API/appsettings.Test_IRC.json index 15820fa89..3016d11ff 100644 --- a/IRaCIS.Core.API/appsettings.Test_IRC.json +++ b/IRaCIS.Core.API/appsettings.Test_IRC.json @@ -33,7 +33,8 @@ "useSSL": false, "accessKey": "IDFkwEpWej0b4DtiuThL", "secretKey": "Lhuu83yMhVwu7c1SnjvGY6lq74jzpYqifK6Qtj4h", - "bucketName": "test" + "bucketName": "test", + "viewEndpoint": "http://192.168.3.68:9001/test/" }, "AWS": { @@ -41,7 +42,9 @@ "useSSL": false, "accessKey": "AKIAZQ3DRSOHFPJJ6FEU", "secretKey": "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", - "bucketName": "ei-irc-test-store" + "bucketName": "ei-irc-test-store", + "viewEndpoint": "https://ei-irc-test-store.s3.amazonaws.com/" + } }, diff --git a/IRaCIS.Core.Application/Helper/OSSService.cs b/IRaCIS.Core.Application/Helper/OSSService.cs index 869121703..57c2e9d47 100644 --- a/IRaCIS.Core.Application/Helper/OSSService.cs +++ b/IRaCIS.Core.Application/Helper/OSSService.cs @@ -32,6 +32,7 @@ namespace IRaCIS.Core.Application.Helper public string accessKey { get; set; } public string secretKey { get; set; } public string bucketName { get; set; } + public string viewEndpoint { get; set; } } public class AliyunOSSOptions diff --git a/irc_api.drone.yml b/irc_api.drone.yml index b41aa81c1..155e89067 100644 --- a/irc_api.drone.yml +++ b/irc_api.drone.yml @@ -61,7 +61,6 @@ steps: - name: dockersock path: /var/run/docker.sock - volumes: - name: nuget-packages host: