Skip to content

Commit

Permalink
fix(shell): config: self_url regexp support ipv6
Browse files Browse the repository at this point in the history
  • Loading branch information
ilharp committed Apr 7, 2024
1 parent dd66a2e commit df00728
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/shell/src/services/config/configEntity.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ export interface ChronocatSelfUrlConfig {
* 从客户端所在的网络环境直接访问此地址,应当看到
* Satori 返回的「恭喜」的 HTML 页面。
*
* @TJS-pattern ^https?:\/\/[A-Za-z0-9:.]+$
* @TJS-pattern ^https?:\/\/[A-Za-z0-9:.\[\]]+$
* @default "https://chronocat.vercel.app"
*/
self_url?: string
Expand Down

0 comments on commit df00728

Please sign in to comment.