Skip to content

Commit

Permalink
update github page
Browse files Browse the repository at this point in the history
  • Loading branch information
马腾 committed Feb 1, 2024
1 parent 6d4f511 commit f314601
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 27 deletions.
22 changes: 22 additions & 0 deletions docs/assets/index-T1AwhVsy.js

Large diffs are not rendered by default.

Large diffs are not rendered by default.

22 changes: 0 additions & 22 deletions docs/assets/index-fW5jwKAj.js

This file was deleted.

6 changes: 3 additions & 3 deletions docs/index.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang="zh">
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="icon" href="./favicon.png">
Expand All @@ -8,8 +8,8 @@
<meta HTTP-EQUIV="Cache-Control" CONTENT="no-cache">
<meta HTTP-EQUIV="Expires" CONTENT="0">
<title>comic message</title>
<script type="module" crossorigin src="./assets/index-fW5jwKAj.js"></script>
<link rel="stylesheet" crossorigin href="./assets/index-tEFKNd9b.css">
<script type="module" crossorigin src="./assets/index-T1AwhVsy.js"></script>
<link rel="stylesheet" crossorigin href="./assets/index-eNqwdqBc.css">
</head>
<style>
html, body {
Expand Down
2 changes: 1 addition & 1 deletion src/views/mainPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ const exportGif = async () => {
const gif = new GIF({
workers: 2,
quality: 10,
workerScript: '/gif.worker.js'
workerScript: (import.meta.env.DEV? '/comic-message':'')+ '/gif.worker.js'
})
gif.addFrame(await getImageData())
gif.addFrame(await getImageData(), { delay: 200 })
Expand Down

0 comments on commit f314601

Please sign in to comment.