Compare commits

...

2 Commits

Author SHA1 Message Date
みてるぞ 1653e1ae79 #63 2026-05-04 03:14:50 +09:00
みてるぞ 5c1295f0ff #63 2026-05-04 03:12:50 +09:00
5 changed files with 7 additions and 5 deletions
@@ -434,5 +434,7 @@ class TagsController < ApplicationController
return canonical if canonical
html[/"channelId":"(UC[a-zA-Z0-9_-]{22})"/, 1] || html[/\bUC[a-zA-Z0-9_-]{22}\b/]
rescue
nil
end
end
+1 -1
View File
@@ -55,7 +55,7 @@ export default (({ tag,
?
</PrefetchLink>)
: (
tag.hasWiki
tag.materialId != null
? (
<PrefetchLink
to={`/materials/${ tag.materialId }`}
+2 -2
View File
@@ -31,11 +31,11 @@ export const FETCH_POSTS_ORDER_FIELDS = [
'updated_at',
] as const
export const PLATFORMS = ['nico', 'youtube'] as const
export const PLATFORM_NAMES: Record<Platform, string> =
{ nico: 'ニコニコ', youtube: 'YouTube' } as const
export const PLATFORMS = ['nico', 'youtube'] as const
export const TAG_COLOUR = {
deerjikist: 'rose',
meme: 'purple',
@@ -65,7 +65,7 @@ export default (() => {
setData (deerjikists)
setDisabled (false)
}, [deerjikists])
}, [tag, deerjikists])
return (
<MainArea>
+1 -1
View File
@@ -183,7 +183,7 @@ export type Tag = {
createdAt: string
updatedAt: string
hasWiki: boolean
materialId: number
materialId: number | null
hasDeerjikists: boolean
children?: Tag[]
matchedAlias?: string | null }