Merge branch 'master' into dev
This commit is contained in:
commit
55783573ef
@ -113,5 +113,5 @@ We welcome your contributions and PRs.
|
||||
|
||||
## ☕ Sponsor
|
||||
|
||||
1. [Follow Me on X(Twitter)](https://x.com/xkaibi).
|
||||
1. [Follow Me on X(Twitter)](https://x.com/0xKaiBi).
|
||||
2. [Become a sponsor to on GitHub](https://github.com/sponsors/ccbikai).
|
||||
|
||||
@ -5,7 +5,7 @@ import { ArrowRight } from 'lucide-vue-next'
|
||||
|
||||
<template>
|
||||
<a
|
||||
href="https://x.com/xkaibi"
|
||||
href="https://x.com/0xKaiBi"
|
||||
target="_blank"
|
||||
title="X(Twitter)"
|
||||
class="inline-flex items-center px-3 py-1 mx-auto my-4 space-x-1 text-sm font-medium rounded-lg bg-muted"
|
||||
|
||||
@ -61,7 +61,7 @@ onMounted(() => {
|
||||
</a>
|
||||
|
||||
<a
|
||||
href="https://x.com/xkaibi"
|
||||
href="https://x.com/0xKaiBi"
|
||||
target="_blank"
|
||||
title="Twitter"
|
||||
class="text-gray-400 hover:text-gray-500"
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "sink",
|
||||
"type": "module",
|
||||
"version": "0.1.2",
|
||||
"version": "0.1.3",
|
||||
"private": true,
|
||||
"packageManager": "pnpm@9.5.0",
|
||||
"engines": {
|
||||
|
||||
@ -5,7 +5,7 @@ const { slugRegex } = useAppConfig()
|
||||
|
||||
const slugDefaultLength = +useRuntimeConfig().public.slugDefaultLength
|
||||
|
||||
export const nanoid = (length: number = slugDefaultLength) => customAlphabet('0123456789abcdefghijklmnopqrstuvwxyz', length)
|
||||
export const nanoid = (length: number = slugDefaultLength) => customAlphabet('23456789abcdefghjkmnpqrstuvwxyz', length)
|
||||
|
||||
export const LinkSchema = z.object({
|
||||
id: z.string().trim().max(26).default(nanoid(10)),
|
||||
|
||||
Loading…
Reference in New Issue
Block a user