Skip to content

Commit

Permalink
chore(data): uncompress json file
Browse files Browse the repository at this point in the history
  • Loading branch information
justorez committed Apr 22, 2024
1 parent c08b184 commit 7942c9f
Show file tree
Hide file tree
Showing 4 changed files with 15,285 additions and 41 deletions.
1 change: 0 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
<html lang="en">
<head>
<meta charset="UTF-8" />
<!-- <link rel="icon" type="image/svg+xml" href="/vite.svg" /> -->
<link rel="icon" href="/head.png">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content="挑战 52 天背完小猪佩奇,配套练习,记录进度">
Expand Down
40 changes: 1 addition & 39 deletions public/style/github.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15,279 changes: 15,278 additions & 1 deletion src/assets/data.json

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions src/utils/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
export const BASE_URL = import.meta.env.BASE_URL

export async function fetchJSON() {
const response = await fetch(`${BASE_URL}data.json`)
return response.json()
}

0 comments on commit 7942c9f

Please sign in to comment.