反爬虫优化,评论图片支持
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
export const runtime = 'nodejs'
|
||||
|
||||
export function toCamelCaseKey(key: string): string {
|
||||
return key.replace(/_([a-zA-Z])/g, (_, c: string) => c.toUpperCase());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user