ccbikai / Sink

⚡ A Simple / Speedy / Secure Link Shortener with Analytics, 100% run on Cloudflare.

Home Page:https://sink.cool

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

save link not working

cirrusflyer opened this issue · comments

Screenshot from 2024-05-31 14-26-47
I have everything setup and am able to login and see the entire system. But when trying to create a link, on the empty link page, I see a "spinning" icon, and when I try to create the first link, the save button doesn't seem to work.

image

Me too

{
    "url": "/api/link/list?limit=24&cursor",
    "statusCode": 500,
    "statusMessage": "",
    "message": "Cannot read properties of undefined (reading 'list')",
    "stack": ""
}

Hello, check the binding of KV to see if it has been bound in both the production environment and the preview environment

The variable name of KV should be in uppercase KV , is it written incorrectly?

image
image

This configuration solved my problem.

Thanks. I had the KV variable, but it wasn't assigned to a KV namespace. I assigned KV to KV and it's working now.