diff --git a/.gitignore b/.gitignore index 239c57c..65629a4 100644 --- a/.gitignore +++ b/.gitignore @@ -81,3 +81,5 @@ sw.* # Auto generate on postinstall step auto-imports.d.ts components.d.ts + +server/api/test.ts \ No newline at end of file diff --git a/components/module/Gallery.vue b/components/module/Gallery.vue index 2c5ff55..7a0bfbb 100644 --- a/components/module/Gallery.vue +++ b/components/module/Gallery.vue @@ -11,6 +11,8 @@ interface Props { } const props = defineProps() + +const cover = props.module.s3Key ? `https://space.r2.102415.xyz/${props.module.s3Key}` : props.module.image