-
-
Notifications
You must be signed in to change notification settings - Fork 148
add sharePath url option setting #1288
Conversation
|
I've put it into draft for you :-) will have a look at this later this evening (CET time :-)) - this time hopefully without too much confusion from my side ;-) |
1st time using Meld. I'm not sure if the conflict resolve is clean
|
Is this still valid and ongoing? |
|
@JYC333 I still want it, if that counts :). I'm stuck with how to complete the implementation though. |
|
I can try to take a look if you don't mind |
|
that would be wonderful, thank you! |
|
merge fbe7d64 just catches the branch up to develop right? It doesn't yet attempt to address the anonymous routing problem I got stuck on? Just checking because with these changes I still get "checkAuth: Redirecting to share path. From: /, To: /share" in console with "Firefox has detected that the server is redirecting the request for this address in a way that will never complete." in browser. However I'm not sure my local dev folder is clean. |
|
Yes, it's just merging develop for now, still look into the problem. Probably won't finish today through. |
|
@JYC333 , have you had the time to look into this one? |
|
Sorry didn't have enought time to work on this... If you want to take over, please go ahead, otherwise I think I probably can start look into it next week. |
|
FYI: I'll take a stab at it now |
|
FYI - having some progress here: https://github.com/TriliumNext/Notes/tree/feat/clean-share-url
|
|
thank you for the attention and work! |
|
work is now continuing on making the "cleanUrl" work — however quick question: @maphew What is the idea between using the "clean URL option" vs just using "/" as share root path? |
Hah, I'm having trouble remembering just what was in my mind when I chose those words. I wanted to accommodate folks who might want to have a dedicated/explicit "anything under this is public" element in the url, and to be able to use whatever word they want for that -- For myself I'm happy with the inverse: everything at |
|
ok, thanks for the confirmation — my current take on is PR: then we have one PR for the custom share route feature — and afterwards we can have a separate PR for the cleanUrl related stuff (if that is even possible or if it makes sense — I have a feeling that really is almost like something for a reverse proxy — but let's split it into a separate discussion when time has come :-)) |
|
Closing in favor of #1781. |

This is a follow up to #1207 bare2share: adding a sharePath option setting under Other so that the anonymous url path can be
/or/fooinstead of hardcoded to/share.The options setting page is setup and works in that the setting is saved, but routing for anonymous user is broken. I'm stuck for now.
(meta: npx prettier has not been run. Also I don't see the control for setting this PR to draft, sorry. Review still welcome though!)