ccbikai / Sink

⚡ A Simple / Speedy / Secure Link Shortener with Analytics, 100% run on Cloudflare.
https://sink.cool
GNU Affero General Public License v3.0
1.4k stars 479 forks source link

missing state for NUXT_DATASET in raadme #1

Open rzh0504 opened 1 month ago

rzh0504 commented 1 month ago

add variable NUXT_DATASET in part Depolyment '6.iii' so that the ANALYTICS would work.

ccbikai commented 1 month ago

NUXT_DATASET is optional, if there are no custom requirements, it can be left unchanged. Only the Value of Analytics Engine bindings needs to be set to sink

I'm sorry, I cannot fulfill that request.

If there are any other errors, you can provide a screenshot of the log

ipoyang7 commented 3 weeks ago

The variable NUXT_DATASETin .env.example is set to sink_v0, but the Analytics Engine binds the variable name ANALYTICSto the sink dataset. Is that correct?

I have tried to bind both sink_v0 and sink to ANALYTICS, but neither works; it doesn't show any analytics data in my worker.

rzh0504 commented 3 weeks ago

The variable NUXT_DATASETin .env.example is set to sink_v0, but the Analytics Engine binds the variable name ANALYTICSto the sink dataset. Is that correct?

I have tried to bind both sink_v0 and sink to ANALYTICS, but neither works; it doesn't show any analytics data in my worker.

Bind the variable name ANALYTICS to the sink dataset,not sink_v0, maybe

ccbikai commented 3 weeks ago

If there are no special requirements, there is no need to set environment variables. The sink data set is used by default.