Raise host bio character limit from 600 to 4000; v2.0.24
Publish Container / docker (push) Successful in 13m18s
Publish Container / docker (push) Successful in 13m18s
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
b999a2fe86
commit
8ff01f8e48
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "siteforge",
|
"name": "siteforge",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "2.0.23",
|
"version": "2.0.24",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
|
|||||||
+1
-1
@@ -339,7 +339,7 @@ function sanitizeNuggets(raw) {
|
|||||||
id: h.id.trim(),
|
id: h.id.trim(),
|
||||||
name: typeof h.name === 'string' ? h.name.trim().slice(0, 120) : '',
|
name: typeof h.name === 'string' ? h.name.trim().slice(0, 120) : '',
|
||||||
role: typeof h.role === 'string' ? h.role.trim().slice(0, 120) : '',
|
role: typeof h.role === 'string' ? h.role.trim().slice(0, 120) : '',
|
||||||
bio: typeof h.bio === 'string' ? h.bio.trim().slice(0, 600) : '',
|
bio: typeof h.bio === 'string' ? h.bio.trim().slice(0, 4000) : '',
|
||||||
imageUrl: sanitizeUrl(h.imageUrl) || '',
|
imageUrl: sanitizeUrl(h.imageUrl) || '',
|
||||||
archived: Boolean(h.archived),
|
archived: Boolean(h.archived),
|
||||||
}))
|
}))
|
||||||
|
|||||||
Reference in new issue
Block a user