Skip to content

Commit f663bba

Browse files
committed
publish: specify oss endpoint
1 parent 0e93ebb commit f663bba

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

publish/publish.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ function createOssClient(string $key, string $secret, string $region): OssClient
9797
'secret' => $secret,
9898
],
9999
'region' => $region,
100+
'endpoint' => sprintf('oss-%s.aliyuncs.com', $region),
100101
]);
101102
}
102103

0 commit comments

Comments
 (0)