rystaf / mlmym

a familiar desktop experience for lemmy
GNU Affero General Public License v3.0
251 stars 16 forks source link

`load more comments` isn't working #30

Closed pintassilgo closed 1 year ago

pintassilgo commented 1 year ago

Tried with auto load more on and off, it makes no difference.

pintassilgo commented 1 year ago

I'm still having issues with this.

The load more comments at the very bottom works, but nested load more comments aren't working.

rystaf commented 1 year ago

Here's how it works for me in firefox/chrome Peek 2023-07-12 10-49 What happens when you click it?

pintassilgo commented 1 year ago

Now I got it. The issue is on my side. Opening Firefox DevTools in Newtork tab, the URL it tries to load when I click is originally like this:

https://mlmym.org/lemmy.fmhy.ml/comment/99999?=&xhr=

image

I have a script to clean and strip some unwanted parameters from URLs, but I need to fix the code. It's rewriting the URL like this:

https://mlmym.org/lemmy.fmhy.ml/comment/99999&xhr

Causing the request to fail. It should end with 99999?xhr.

Anyway, the ?=&xhr= that mlmym uses looks a bit weird, it could be ?xhr...