chore: force base url / for latest and default build

Fix #102
This commit is contained in:
ShareVB committed 2025-06-22 13:15:04 +02:00
1 parent 5904fa7f84
commit 91564e0a0a
2 files changed
+4 -2

No files matched your search

@@ -67,6 +67,8 @@ jobs:
with:
context: .
file: ./Dockerfile
build-args: |
"BASE_URL=/"
platforms: linux/amd64,linux/arm64
push: true
tags: |
+2 -2
View File
@@ -19,7 +19,7 @@ import Icons from 'unplugin-icons/vite';
import IconsResolver from 'unplugin-icons/resolver';
import VueI18n from '@intlify/unplugin-vue-i18n/vite';
const baseUrl = process.env.BASE_URL ?? '/';
const baseUrl = process.env.BASE_URL || '/';
// https://vitejs.dev/config/
export default defineConfig({
@@ -67,8 +67,8 @@ export default defineConfig({
name: 'IT Tools',
description: 'Aggregated set of useful tools for developers.',
display: 'standalone',
lang: 'fr-FR',
start_url: `${baseUrl}?utm_source=pwa&utm_medium=pwa`,
scope: baseUrl,
orientation: 'any',
theme_color: '#18a058',
background_color: '#f1f5f9',