Skip to content

Commit

Permalink
fix(referees): retrieve list of referees from another location
Browse files Browse the repository at this point in the history
  • Loading branch information
davidsandoz committed Nov 24, 2024
1 parent b7e938a commit 81928f3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,3 @@ logs

# htaccess
.htaccess

# Static files generated externally (e.g. referee list in JSON)
public/external
2 changes: 1 addition & 1 deletion pages/referees.vue
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const {
data: referees,
pending: fetchPending,
error: fetchError,
} = useFetch<PublicReferee[]>('/external/referees_public.json', {
} = useFetch<PublicReferee[]>('https://files.tchoukball.ch/arbitrage/liste-arbitres/referees_public.json', {
server: false,
});
Expand Down

0 comments on commit 81928f3

Please sign in to comment.