oss 支持配置公网

This commit is contained in:
cool 2023-12-29 18:22:05 +08:00
parent 610ae3a5e8
commit fcf34dc35e
6 changed files with 7 additions and 5 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@cool-midway/core",
"version": "7.0.6",
"version": "7.0.8",
"description": "",
"main": "dist/index.js",
"typings": "index.d.ts",

View File

@ -164,6 +164,8 @@ export interface OSSConfig {
maxSize?: number;
// host
host?: string;
// 阿里云oss的公网访问地址
publicDomain?: string;
}
/**

View File

@ -1,6 +1,6 @@
{
"name": "@cool-midway/core",
"version": "7.0.6",
"version": "7.0.8",
"description": "",
"main": "index.js",
"typings": "index.d.ts",

View File

@ -1,6 +1,6 @@
{
"name": "@cool-midway/file",
"version": "7.0.3",
"version": "7.0.5",
"description": "",
"main": "dist/index.js",
"typings": "index.d.ts",

View File

@ -68,7 +68,7 @@ export interface OSSConfig {
// host
host?: string;
// 阿里云oss的公网访问地址
publicDomain: string;
publicDomain?: string;
}
/**

View File

@ -1,6 +1,6 @@
{
"name": "@cool-midway/file",
"version": "7.0.3",
"version": "7.0.5",
"description": "",
"main": "index.js",
"typings": "index.d.ts",