idno / known

A social publishing platform.
https://withknown.com/opensource
Other
1.06k stars 194 forks source link

Sub directory test is broken #3263

Closed ipranjal closed 1 month ago

ipranjal commented 1 month ago

While trying to do this:

while I am trying to on onboard and on /begin/register/?

I encountered this error:

There is no content being displayed

Some other notes:

I am not using a subdirectory but the subdirectory recognises "begin" as a folder in my path it thinks that I am on a subdirectory name "begin" that makes my router thinks path "/begin/begin/register/?" as the url to match with

Give us some context:

ipranjal commented 1 month ago

commenting out subdirectory check fixes it , I would suggest let users manually set KNOWN_SUBDIRECTORY and we should stop guessing it !

benwerd commented 1 month ago

It's honestly amazing to me that Known supports subdirectory use. That seemed reasonable in 2013; much less so now. Let's discontinue that.