Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

comment provider disqus #926

Closed
rth1972 opened this issue May 24, 2024 · 2 comments
Closed

comment provider disqus #926

rth1972 opened this issue May 24, 2024 · 2 comments

Comments

@rth1972
Copy link

rth1972 commented May 24, 2024

really love the script. i'm new to nextjs. I"m trying to alter the script to my needs.

i have a question though.
I'm using disqus as my comment provider but i'm getting an error message.
"chunk-ZGZNY22A.js:19
Refused to load the script 'https://undefined.disqus.com/embed.js"

instead of undefind how can i get 'https://shortname.disqus.com/embed.js'.

any help is appreciated,
thanks in advance,

Robin

ps thank you for the great script, i'm really learning a lot by looking at the code.

@rth1972
Copy link
Author

rth1972 commented May 24, 2024

I've figured it out.

in siteMetadata.js i added
disqusConfig: { shortname: 'shortname', },

@rth1972
Copy link
Author

rth1972 commented May 24, 2024

really love the script. i'm new to nextjs. I"m trying to alter the script to my needs.

i have a question though. I'm using disqus as my comment provider but i'm getting an error message. "chunk-ZGZNY22A.js:19 Refused to load the script 'https://undefined.disqus.com/embed.js"

instead of undefind how can i get 'https://shortname.disqus.com/embed.js'.

any help is appreciated, thanks in advance,

Robin

ps thank you for the great script, i'm really learning a lot by looking at the code.

@rth1972 rth1972 closed this as completed May 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant