Merge branch 'preview'
This commit is contained in:
commit
ab4fc66da9
2 changed files with 3 additions and 3 deletions
|
|
@ -20,7 +20,7 @@
|
||||||
</a>
|
</a>
|
||||||
<a href="https://www.uneed.best/tool/sink" target="_blank">
|
<a href="https://www.uneed.best/tool/sink" target="_blank">
|
||||||
<img
|
<img
|
||||||
src="https://www.uneed.best/POTD2.png"
|
src="https://www.uneed.best/POTW1.png"
|
||||||
alt="Uneed Badge"
|
alt="Uneed Badge"
|
||||||
height="55"
|
height="55"
|
||||||
/>
|
/>
|
||||||
|
|
@ -98,7 +98,7 @@ We welcome your contributions and PRs.
|
||||||
|
|
||||||
5. Save and deploy the project.
|
5. Save and deploy the project.
|
||||||
6. Cancel the deployment, then navigate to **Settings** -> **Bindings** -> **Add**:
|
6. Cancel the deployment, then navigate to **Settings** -> **Bindings** -> **Add**:
|
||||||
- **KV Namespace**: Bind the variable name `KV` to a KV namespace (create a new one under **Workers & Pages** -> **KV**).
|
- **KV Namespace**: Bind the variable name `KV` to a [KV namespace](https://developers.cloudflare.com/kv/) (create a new one under **Storage & Databases** -> **KV**).
|
||||||
- **Workers AI** (_Optional_): Bind the variable name `AI` to the Workers AI Catalog.
|
- **Workers AI** (_Optional_): Bind the variable name `AI` to the Workers AI Catalog.
|
||||||
- **Analytics Engine**:
|
- **Analytics Engine**:
|
||||||
- In **Workers & Pages**, go to **Account details** on the right side, find `Analytics Engine`, and click `Set up` to enable the free version.
|
- In **Workers & Pages**, go to **Account details** on the right side, find `Analytics Engine`, and click `Set up` to enable the free version.
|
||||||
|
|
|
||||||
|
|
@ -114,7 +114,7 @@ async function onSubmit(formData) {
|
||||||
body: link,
|
body: link,
|
||||||
})
|
})
|
||||||
dialogOpen.value = false
|
dialogOpen.value = false
|
||||||
emit('update:link', newLink)
|
emit('update:link', newLink, isEdit ? 'edit' : 'create')
|
||||||
if (isEdit) {
|
if (isEdit) {
|
||||||
toast('Link updated successfully')
|
toast('Link updated successfully')
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue