You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sveltekit generates two JSON-LD tags when configured with a domain in a production environment, here's a comparison between the domain and non-domain versions: http://45.56.85.226:3000/ and https://jsonld.shuaixr.xyz/
When JavaScript is turned off in the browser, one of the JSON-LD tags disappears, so I didn't pay too much attention to it initially. However, recently I found that there were also two in Googlebot's crawled pages.
Also, I wrote a Svelte component like this for easy use of JSON-LD:
I am a beginner, this error may also be caused by my non-standard svelte component. If so, please inform me of the correct way.
I created a repository to reproduce the bug where there is all the code:https://github.com/shuaixr/jsonld_svelte
I created a website deployment of this repository: https://jsonld.shuaixr.xyz
Describe the bug
Sveltekit generates two JSON-LD tags when configured with a domain in a production environment, here's a comparison between the domain and non-domain versions: http://45.56.85.226:3000/ and https://jsonld.shuaixr.xyz/
When JavaScript is turned off in the browser, one of the JSON-LD tags disappears, so I didn't pay too much attention to it initially. However, recently I found that there were also two in Googlebot's crawled pages.
Also, I wrote a Svelte component like this for easy use of JSON-LD:
I am a beginner, this error may also be caused by my non-standard svelte component. If so, please inform me of the correct way.
I created a repository to reproduce the bug where there is all the code:https://github.com/shuaixr/jsonld_svelte
I created a website deployment of this repository:
https://jsonld.shuaixr.xyz
Reproduction
1.clone https://github.com/shuaixr/jsonld_svelte
2.npm run build
3.export PROTOCOL_HEADER=x-forwarded-proto && export HOST_HEADER=x-forwarded-host
3.node build/index.js
Logs
System Info
Severity
annoyance
Additional Information
No response
The text was updated successfully, but these errors were encountered: