This commit is contained in:
2026-05-04 03:12:50 +09:00
parent cf7f9621e1
commit 5c1295f0ff
4 changed files with 6 additions and 4 deletions
@@ -434,5 +434,7 @@ class TagsController < ApplicationController
return canonical if canonical return canonical if canonical
html[/"channelId":"(UC[a-zA-Z0-9_-]{22})"/, 1] || html[/\bUC[a-zA-Z0-9_-]{22}\b/] html[/"channelId":"(UC[a-zA-Z0-9_-]{22})"/, 1] || html[/\bUC[a-zA-Z0-9_-]{22}\b/]
rescue
nil
end end
end end
+1 -1
View File
@@ -55,7 +55,7 @@ export default (({ tag,
? ?
</PrefetchLink>) </PrefetchLink>)
: ( : (
tag.hasWiki tag.materialId != null
? ( ? (
<PrefetchLink <PrefetchLink
to={`/materials/${ tag.materialId }`} to={`/materials/${ tag.materialId }`}
+2 -2
View File
@@ -31,11 +31,11 @@ export const FETCH_POSTS_ORDER_FIELDS = [
'updated_at', 'updated_at',
] as const ] as const
export const PLATFORMS = ['nico', 'youtube'] as const
export const PLATFORM_NAMES: Record<Platform, string> = export const PLATFORM_NAMES: Record<Platform, string> =
{ nico: 'ニコニコ', youtube: 'YouTube' } as const { nico: 'ニコニコ', youtube: 'YouTube' } as const
export const PLATFORMS = ['nico', 'youtube'] as const
export const TAG_COLOUR = { export const TAG_COLOUR = {
deerjikist: 'rose', deerjikist: 'rose',
meme: 'purple', meme: 'purple',
@@ -65,7 +65,7 @@ export default (() => {
setData (deerjikists) setData (deerjikists)
setDisabled (false) setDisabled (false)
}, [deerjikists]) }, [tag, deerjikists])
return ( return (
<MainArea> <MainArea>