mirror of
https://github.com/cool-team-official/cool-admin-midway-packages.git
synced 2025-12-12 14:22:49 +00:00
oss 支持配置公网
This commit is contained in:
parent
610ae3a5e8
commit
fcf34dc35e
@ -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",
|
||||||
|
|||||||
@ -164,6 +164,8 @@ export interface OSSConfig {
|
|||||||
maxSize?: number;
|
maxSize?: number;
|
||||||
// host
|
// host
|
||||||
host?: string;
|
host?: string;
|
||||||
|
// 阿里云oss的公网访问地址
|
||||||
|
publicDomain?: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -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",
|
||||||
|
|||||||
@ -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",
|
||||||
|
|||||||
@ -68,7 +68,7 @@ export interface OSSConfig {
|
|||||||
// host
|
// host
|
||||||
host?: string;
|
host?: string;
|
||||||
// 阿里云oss的公网访问地址
|
// 阿里云oss的公网访问地址
|
||||||
publicDomain: string;
|
publicDomain?: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -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",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user