diff --git a/README.md b/README.md index 1a635cd..13c8e3d 100644 --- a/README.md +++ b/README.md @@ -101,6 +101,7 @@ We welcome your contributions and PRs. - Bind the variable name `ANALYTICS` to the `sink` dataset. 7. Redeploy the project. +8. Update code, refer to the official GitHub documentation [Syncing a fork branch from the web UI](https://docs.github.com/pull-requests/collaborating-with-pull-requests/working-with-forks/syncing-a-fork#syncing-a-fork-branch-from-the-web-ui). ## ⚒️ Configuration diff --git a/components/dashboard/links/Editor.vue b/components/dashboard/links/Editor.vue index d4eeddd..4f7fb3b 100644 --- a/components/dashboard/links/Editor.vue +++ b/components/dashboard/links/Editor.vue @@ -102,12 +102,10 @@ onMounted(() => { } }) -const { caseSensitive } = useRuntimeConfig() - async function onSubmit(formData) { const link = { url: formData.url, - slug: caseSensitive ? formData.slug : formData.slug.toLowerCase(), + slug: formData.slug, ...(formData.optional || []), expiration: formData.optional?.expiration ? date2unix(formData.optional?.expiration, 'end') : undefined, } diff --git a/package.json b/package.json index 9869c83..3ec4b63 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "sink", "type": "module", - "version": "0.1.5", + "version": "0.1.6", "private": true, "packageManager": "pnpm@9.7.1", "engines": {