Some problem with plugins
-
i use emoji plugin ,but it's src show like this.
<img class=" emoji"="" alt="grinning" src="http://127.0.0.1:4567/plugins/nodebb-plugin-emoji/images/grinning.png">
why bath url still 127.0.0.1? how to set it to my domain?
-
It's either config.json in the root of your nodebb install, or you've misconfigured Nginx if you use it.
Or it could be a third thing I've overlooked.
-
@Loethen-Shen
If you are usingnodebb-plugin-emoji-extended
then there is a 'dirty' fix for that.
Navigate to your Emoji plugin folder and openindex.js
.
Example path:/home/nodebb/node_modules/nodebb-plugin-emoji-extended/index.js
.Once you've opened the file, find a part where it states
emojiPath="http://127.0.0.1:4567/plugins/nodebb-plugin-emoji/images/"
.
Set this to something like thisemojiPath="http://forum.domain.com/plugins/nodebb-plugin-emoji-extended/images"
Of course, this will only work if you are running NodeBB with nginx or Apache proxy.