docs(faqs): Update according to the Readme updates.
This commit is contained in:
parent
7c999fdfc2
commit
0ed45efa87
3 changed files with 9 additions and 6 deletions
15
docs/faqs.md
15
docs/faqs.md
|
|
@ -5,8 +5,8 @@
|
|||
Please check the Cloudflare KV bindings, the KV environment variable name should be all uppercase letters.
|
||||
|
||||
<details>
|
||||
<summary><b>Screenshots</b></summary>
|
||||
<img alt="KV" src="https://github.com/ccbikai/Sink/assets/21292149/3b7d584c-3afe-4d24-8c9e-e0d549c47438"/>
|
||||
<summary><b>Screenshot</b></summary>
|
||||
<img alt="KV Bindings setting in Cloudflare" src="/docs/images/faqs-kv.png"/>
|
||||
</details>
|
||||
|
||||
## 2. Why can't I log in?
|
||||
|
|
@ -15,17 +15,20 @@ Please check if `NUXT_SITE_TOKEN` is set to pure numbers, Sink does not support
|
|||
|
||||
## 3. Why can't I see the analytics data?
|
||||
|
||||
Analytics data needs to read Cloudflare's data, check if `NUXT_CF_ACCOUNT_ID` and `NUXT_CF_API_TOKEN` are correctly configured. Pay attention to the account id deployment zone id, whether the Worker analytics engine is turned on.
|
||||
Analytics data requires access to Cloudflare’s settings:
|
||||
|
||||
1. Verify `NUXT_CF_ACCOUNT_ID` and `NUXT_CF_API_TOKEN` are configured correctly (ensure the Account ID matches the deployment zone ID).
|
||||
2. Check that the Worker analytics engine is enabled.
|
||||
|
||||
<details>
|
||||
<summary><b>Screenshots</b></summary>
|
||||
<img alt="Analytics" src="https://github.com/ccbikai/Sink/assets/21292149/aceede26-5aa1-400c-8d06-d6adc46bdcb8"/>
|
||||
<summary><b>Screenshot</b></summary>
|
||||
<img alt="Analytics engine Bindings setting in Cloudflare " src="/docs/images/faqs-Analytics_engine.png"/>
|
||||
</details>
|
||||
|
||||
## 4. I don't want the current homepage? Can it be redirected to my blog?
|
||||
|
||||
Of course. Please set the environment variable `NUXT_HOME_URL` to your blog or official website address.
|
||||
|
||||
## 5. Why can't I see the statistics after deploying with NuxtHub?
|
||||
## 5. Why can't I see statistics after deploying with NuxtHub?
|
||||
|
||||
NuxtHub's ANALYTICS points to its dataset, you need to set the `NUXT_DATASET` environment variable to point to the same dataset.
|
||||
|
|
|
|||
BIN
docs/images/faqs-Analytics_engine.png
Normal file
BIN
docs/images/faqs-Analytics_engine.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 52 KiB |
BIN
docs/images/faqs-kv.png
Normal file
BIN
docs/images/faqs-kv.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 52 KiB |
Loading…
Reference in a new issue