Skip to content

Commit

Permalink
chore: changed leancloud script to latest
Browse files Browse the repository at this point in the history
  • Loading branch information
bennyxguo committed Jul 24, 2023
1 parent 3879e31 commit 8148b0e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 15 deletions.
16 changes: 4 additions & 12 deletions src/components/Comment.vue
Original file line number Diff line number Diff line change
@@ -1,15 +1,6 @@
<template>
<div
class="
bg-ob-deep-800
p-4
mt-8
lg:px-14 lg:py-10
rounded-2xl
shadow-xl
mb-8
lg:mb-0
"
class="bg-ob-deep-800 p-4 mt-8 lg:px-14 lg:py-10 rounded-2xl shadow-xl mb-8 lg:mb-0"
>
<SubTitle :title="'titles.comment'" />
<div id="gitalk-container"></div>
Expand Down Expand Up @@ -124,8 +115,9 @@ export default defineComponent({
placeholder: appStore.themeConfig.plugins.valine.placeholder,
visitor: appStore.themeConfig.plugins.valine.visitor,
lang: appStore.themeConfig.plugins.valine.lang,
meta: appStore.themeConfig.plugins.valine.meta,
requiredFields: appStore.themeConfig.plugins.valine.requiredFields,
meta: appStore.themeConfig.plugins.valine.meta ?? [],
requiredFields:
appStore.themeConfig.plugins.valine.requiredFields ?? [],
avatarForce: appStore.themeConfig.plugins.valine.avatarForce,
path: window.location.pathname // Make sure updating pathname
})
Expand Down
6 changes: 3 additions & 3 deletions templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@
rel="preload"
src="https://cdn.jsdelivr.net/npm/valine@1.5.1/dist/Valine.min.js"
></script>
<!-- <script
<script
rel="preload"
src="https://cdn.jsdelivr.net/npm/leancloud-storage@4.10.0/dist/av-min.js"
></script> -->
src="https://cdn.jsdelivr.net/npm/leancloud-storage@latest/dist/av-min.js"
></script>
</head>
<body id="body-container">
<noscript>
Expand Down

0 comments on commit 8148b0e

Please sign in to comment.