Merge branch 'master' into dev

This commit is contained in:
ccbikai 2024-08-18 18:40:09 +08:00
commit 55783573ef
5 changed files with 5 additions and 5 deletions

View File

@ -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).

View File

@ -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"

View File

@ -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"

View File

@ -1,7 +1,7 @@
{
"name": "sink",
"type": "module",
"version": "0.1.2",
"version": "0.1.3",
"private": true,
"packageManager": "pnpm@9.5.0",
"engines": {

View File

@ -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)),