netlify is more reliable
This commit is contained in:
1 parent
7fe8f5d154
commit
4dfff986d4
16 files changed
+42
-105
No files matched your search
@@ -15,7 +15,7 @@
|
||||
import PostHeader from './PostHeader.vue'
|
||||
import { Vue, Component, Prop } from 'nuxt-property-decorator'
|
||||
import { makeHtml } from '../assets/make-html'
|
||||
import { globalStore } from '../store'
|
||||
import { HASH } from '../assets/util'
|
||||
|
||||
@Component({
|
||||
components: {
|
||||
@@ -29,7 +29,7 @@ export default class PostTeaser extends Vue {
|
||||
|
||||
async mounted () {
|
||||
if (!this.teaser) {
|
||||
this.teaser = await fetch(`/build/teaser/${this.header.path}.html?h=${globalStore.hash.posts[this.header.path]}`)
|
||||
this.teaser = await fetch(`/build/teaser/${this.header.path}.html?h=${HASH.posts[this.header.path]}`)
|
||||
.then((r) => r.text())
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user