Merge branch 'master' into preview
This commit is contained in:
commit
4e3da1f36a
3 changed files with 3 additions and 4 deletions
|
|
@ -101,6 +101,7 @@ We welcome your contributions and PRs.
|
||||||
- Bind the variable name `ANALYTICS` to the `sink` dataset.
|
- Bind the variable name `ANALYTICS` to the `sink` dataset.
|
||||||
|
|
||||||
7. Redeploy the project.
|
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
|
## ⚒️ Configuration
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -102,12 +102,10 @@ onMounted(() => {
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
const { caseSensitive } = useRuntimeConfig()
|
|
||||||
|
|
||||||
async function onSubmit(formData) {
|
async function onSubmit(formData) {
|
||||||
const link = {
|
const link = {
|
||||||
url: formData.url,
|
url: formData.url,
|
||||||
slug: caseSensitive ? formData.slug : formData.slug.toLowerCase(),
|
slug: formData.slug,
|
||||||
...(formData.optional || []),
|
...(formData.optional || []),
|
||||||
expiration: formData.optional?.expiration ? date2unix(formData.optional?.expiration, 'end') : undefined,
|
expiration: formData.optional?.expiration ? date2unix(formData.optional?.expiration, 'end') : undefined,
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "sink",
|
"name": "sink",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "0.1.5",
|
"version": "0.1.6",
|
||||||
"private": true,
|
"private": true,
|
||||||
"packageManager": "pnpm@9.7.1",
|
"packageManager": "pnpm@9.7.1",
|
||||||
"engines": {
|
"engines": {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue