新增支持s3协议对象存储

This commit is contained in:
eoao
2025-08-31 12:04:19 +08:00
parent 562528e968
commit 86a80900c1
27 changed files with 1981 additions and 277 deletions

View File

@@ -17,8 +17,9 @@ export default defineConfig(({mode}) => {
base: env.VITE_STATIC_URL || '/',
plugins: [vue(),
VitePWA({
registerType: 'autoUpdate', // 配置 service worker 的注册方式
includeAssets: ['favicon.svg', 'robots.txt'], // 指定需要包含的静态资源
registerType: 'autoUpdate',
includeAssets: ['favicon.svg', 'robots.txt'],
manifest: {
name: 'Cloud Mail',
short_name: 'Cloud Mail',
@@ -26,14 +27,26 @@ export default defineConfig(({mode}) => {
theme_color: '#FFFFFF',
icons: [
{
src: 'mail-192.png',//像素尺寸一定要对应
src: 'mail-192.png',
sizes: '192x192',
type: 'image/png',
},
{
src: 'mail-512.png',
sizes: '512x512',
type: 'image/png'
},
{
src: 'mail-512.png',
sizes: '512x512',
type: 'image/png',
purpose: 'any'
},
{
src: 'mail-512.png',
sizes: '512x512',
type: 'image/png',
purpose: 'maskable'
},
],
},