kaushalmodi / hugo-search-fuse-js

Hugo theme component for implementing static site search using Fuse.js
https://hugo-search-fuse-js.netlify.app/
GNU General Public License v3.0
68 stars 23 forks source link

It seems only support HTTP but not TLS #12

Closed lryong closed 3 years ago

lryong commented 3 years ago

My site uses TLS encryption, but after installing the plugin, I found that when triggering a search, only the URL starting with http://XXX is requested.

And this is my blog's website: https://blog.herbert.top

kaushalmodi commented 3 years ago

I have not seen that issue.. I have an https site as well: https://scripter.co/search/?q=emacs

Is it possible you have the http hard-coded somewhere in your theme?

Edit: I believe mine would be SSL encryption. Given that, I don't know how Fuse.js distinguishes between SSL and TLS.

lryong commented 3 years ago

@kaushalmodi Since the site is now deployed on netlify, the theme used is this one: hugo-theme-even.

At the moment it seems that only this plugin is not working properly, I don't know if it is related to my configuration on netlify.

image

lryong commented 3 years ago

I have not seen that issue.. I have an https site as well: https://scripter.co/search/?q=emacs

Is it possible you have the http hard-coded somewhere in your theme?

Edit: I believe mine would be SSL encryption. Given that, I don't know how Fuse.js distinguishes between SSL and TLS.

I found out that it was hard-coded in my site configuration, and now it's fixed, thanks!