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", "name": "@cool-midway/core",
"version": "7.0.6", "version": "7.0.8",
"description": "", "description": "",
"main": "dist/index.js", "main": "dist/index.js",
"typings": "index.d.ts", "typings": "index.d.ts",

View File

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

View File

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

View File

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

View File

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

View File

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