Open akukerang opened 2 years ago
have u solved it? @akukerang
@chinenvinicius no
seems like it calls dictpath on the index page but when i go to other pages. this dictfile deosnt load at all. only working on one page.
let kuroshiro = new Kuroshiro(); await kuroshiro.init(new KuromojiAnalyzer()); . this is the code . do u have the same issue?
I kind of gave up trying to figure it out and I can't really remember what the error was exactly. Sorry about that.
seems like it calls dictpath on the index page but when i go to other pages. this dictfile deosnt load at all. only working on one page.
let kuroshiro = new Kuroshiro(); await kuroshiro.init(new KuromojiAnalyzer()); . this is the code . do u have the same issue?
did you solve this?
@jgaynor17 i couldnt solve it. but these have to do with core code. u need to use an old version of kuroshiro which work but it slow to donwload on the client . in my case it takes more than 30 seconds to dowload the whole library if speed is issue i would recommmend to implement it on the server side not client side. this issues is problay have to do on hotw dictionary is being passed on the code., kuroshiro.
When using it an Chrome content script, setting the Kuromoji analyzer dict path to an https server, would just send a GET request to "https://currentsite.com/https://dhasdjashdkajdha.com/...". I would like it just for it to be "https://dhasdjashdkajdha.com/....". Using an http URL works fine, but Chrome would return the error
"Mixed Content: The page at '<URL>' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint '<URL>'. This request has been blocked; the content must be served over HTTPS."
Is there a way that I can set the dictPath to an https url?