Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

121 support users to authenticate via cloudflare captcha #122

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,7 @@
"i18n-ally.extract.ignored": [
"•\n {{\n t(\"tap-moi-chieu-vao-_time-_day\", [\n dayjs(\n new Date(\n `${currentDataSeason.update[1]}:${currentDataSeason.update[2]} 1/1/0`\n )\n ).format(\"HH:MM\"),\n currentDataSeason.update[0] === 0\n ? \"chủ nhật\"\n : `thứ ${currentDataSeason.update[0]}`,\n currentDataSeason.update[0] > new Date().getDay() + 1\n ? \"tuần sau\"\n : \"tuần này\",\n ])\n }}\n ",
"Urban VPN"
]
],
"editor.tabCompletion": "on",
"diffEditor.codeLens": true
}
8 changes: 5 additions & 3 deletions src/components/Card.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
class="bg-transparent"
@mousemove="data.description ? (eventMouseoverCard = $event) : undefined"
>
<q-img
<q-img-custom
no-spinner
:src="forceHttp2(data.image)"
referrerpolicy="no-referrer"
Expand Down Expand Up @@ -37,7 +37,7 @@
>{{ data.quality }}</Quality
>
<img v-if="trending" :src="ranks[trending - 1]" class="h-[1.5rem]" />
</q-img>
</q-img-custom>
<span v-if="!trending" class="a line-clamp-2 min-h-10 mt-1">{{
data.name
}}</span>
Expand Down Expand Up @@ -118,7 +118,9 @@
import type { MaybeComputedRef } from "@vueuse/core"
import { useElementHover } from "@vueuse/core"
import BottomBlur from "components/BottomBlur.vue"
import { debounce, QCard, QCardSection, QImg, QMenu } from "quasar"
import QImgCustom from "components/QImgCustom"
import type { QImg } from "quasar"
import { debounce, QCard, QCardSection, QMenu } from "quasar"
import type { TPost } from "src/apis/parser/__helpers__/getInfoTPost"
import dayjs from "src/logic/dayjs"
import { forceHttp2 } from "src/logic/forceHttp2"
Expand Down
5 changes: 3 additions & 2 deletions src/components/CardVertical.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<router-link :to="data.path" v-ripple class="relative flex flex-nowrap">
<div>
<q-img
<q-img-custom
no-spinner
:src="forceHttp2(data.image)"
referrerpolicy="no-referrer"
Expand All @@ -10,7 +10,7 @@
class="rounded-lg"
>
<slot name="img-content" />
</q-img>
</q-img-custom>
</div>

<div class="flex-1 h-full overflow-hidden pl-3 py-[3px] text-[#9a9a9a]">
Expand Down Expand Up @@ -64,6 +64,7 @@

<script lang="ts" setup>
import { Icon } from "@iconify/vue"
import QImgCustom from "components/QImgCustom"
import { forceHttp2 } from "src/logic/forceHttp2"
import { useI18n } from "vue-i18n"

Expand Down
Loading