Skip to content

Commit

Permalink
feature: configure CI/CD
Browse files Browse the repository at this point in the history
  • Loading branch information
wilcorrea committed Apr 8, 2024
1 parent a88226b commit 2b96d95
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VITE_BASE_PATH=/quiz
VITE_BASE_PATH=/

VITE_SUPABASE_URL=https://<project>.supabase.co
VITE_SUPABASE_ANON_KEY=<your-anon-key>
Expand Down
2 changes: 1 addition & 1 deletion src/config/assets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(/(?<!:)\/+/g, '/')
}

0 comments on commit 2b96d95

Please sign in to comment.