From 2b96d95ce24fd75f499d6bed5465e8c8ec7b9bc1 Mon Sep 17 00:00:00 2001 From: William Correa Date: Mon, 8 Apr 2024 09:19:56 -0300 Subject: [PATCH] feature: configure CI/CD --- .env | 2 +- src/config/assets.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.env b/.env index ec888d4..3a2cbfa 100644 --- a/.env +++ b/.env @@ -1,4 +1,4 @@ -VITE_BASE_PATH=/quiz +VITE_BASE_PATH=/ VITE_SUPABASE_URL=https://.supabase.co VITE_SUPABASE_ANON_KEY= diff --git a/src/config/assets.ts b/src/config/assets.ts index b2d355f..9a39a84 100644 --- a/src/config/assets.ts +++ b/src/config/assets.ts @@ -3,5 +3,5 @@ export function base (): string { } export function image (path: string): string { - return (base() + '/assets/images/' + path).replace(/([^:]\/)\/+/g, '$1') + return (base() + '/assets/images/' + path).replace(/(?