From cd362f6b301f09d57dc7eb0caedfbbe09327e3dd Mon Sep 17 00:00:00 2001 From: multipleof4 Date: Mon, 18 Aug 2025 12:32:44 -0700 Subject: [PATCH] Update vite.config.js --- vite.config.js | 40 +++++++++++++++++----------------------- 1 file changed, 17 insertions(+), 23 deletions(-) diff --git a/vite.config.js b/vite.config.js index 4c4bfc3..e190241 100644 --- a/vite.config.js +++ b/vite.config.js @@ -1,26 +1,20 @@ -import { defineConfig } from 'vite' +import { defineConfig } from 'vite' import { VitePWA } from 'vite-plugin-pwa' -export default defineConfig({ - build: { outDir: 'docs' }, - plugins: [ - VitePWA({ - registerType: 'autoUpdate', - manifest: { - id: 'https://sune.planetrenox.com/', - name: 'Sune', - short_name: 'Sune', - description: 'OpenRouter GUI Frontend', - start_url: 'https://sune.planetrenox.com/', - display: 'standalone', - orientation: 'portrait', - theme_color: '#000000', - background_color: '#000000', - categories: ['productivity', 'utilities'], - icons: [ - { src: 'https://sune.planetrenox.com/appstore_content/sune.png', sizes: '1024x1024', type: 'image/png' } - ] - } - }) - ] +export default defineConfig({ + build: { outDir: 'docs' }, + plugins: [ + VitePWA({ + registerType: 'autoUpdate', + manifest: { + name: 'Sune', + short_name: 'Sune', + start_url: '.', + display: 'standalone', + icons: [ + { src: 'https://sune.planetrenox.com/✺.png', sizes: '1024x1024', type: 'image/png' } + ] + } + }) + ] })