Merge branch 'master' into dev
This commit is contained in:
commit
55783573ef
@ -113,5 +113,5 @@ We welcome your contributions and PRs.
|
|||||||
|
|
||||||
## ☕ Sponsor
|
## ☕ 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).
|
2. [Become a sponsor to on GitHub](https://github.com/sponsors/ccbikai).
|
||||||
|
|||||||
@ -5,7 +5,7 @@ import { ArrowRight } from 'lucide-vue-next'
|
|||||||
|
|
||||||
<template>
|
<template>
|
||||||
<a
|
<a
|
||||||
href="https://x.com/xkaibi"
|
href="https://x.com/0xKaiBi"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
title="X(Twitter)"
|
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"
|
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>
|
||||||
|
|
||||||
<a
|
<a
|
||||||
href="https://x.com/xkaibi"
|
href="https://x.com/0xKaiBi"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
title="Twitter"
|
title="Twitter"
|
||||||
class="text-gray-400 hover:text-gray-500"
|
class="text-gray-400 hover:text-gray-500"
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "sink",
|
"name": "sink",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "0.1.2",
|
"version": "0.1.3",
|
||||||
"private": true,
|
"private": true,
|
||||||
"packageManager": "pnpm@9.5.0",
|
"packageManager": "pnpm@9.5.0",
|
||||||
"engines": {
|
"engines": {
|
||||||
|
|||||||
@ -5,7 +5,7 @@ const { slugRegex } = useAppConfig()
|
|||||||
|
|
||||||
const slugDefaultLength = +useRuntimeConfig().public.slugDefaultLength
|
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({
|
export const LinkSchema = z.object({
|
||||||
id: z.string().trim().max(26).default(nanoid(10)),
|
id: z.string().trim().max(26).default(nanoid(10)),
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user