Skip to content

Commit

Permalink
refactor: defaults cdn to jsdelivr
Browse files Browse the repository at this point in the history
  • Loading branch information
sxzz committed Jul 15, 2024
1 parent 23e3820 commit 6cc0e75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/dependency.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export interface Dependency {
}

export type Cdn = 'unpkg' | 'jsdelivr' | 'jsdelivr-fastly'
export const cdn = useLocalStorage<Cdn>('setting-cdn', 'jsdelivr-fastly')
export const cdn = useLocalStorage<Cdn>('setting-cdn', 'jsdelivr')

export const genCdnLink = (
pkg: string,
Expand Down

0 comments on commit 6cc0e75

Please sign in to comment.