Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rework Nomadnet Links - Don't establish a new link for each request #21

Closed
liamcottle opened this issue Dec 10, 2024 · 1 comment
Closed

Comments

@liamcottle
Copy link
Owner

Now that #20 has been merged in, and form fields are now supported, I will need to look into reworking how the internal RNS links for nomad network page downloads are handled in MeshChat, as some sites are using the link id to determine if a user is logged in.

However, since MeshChat establishes a new link for every page that loads, the link id changes, which breaks that functionality.

For example, the etux node app template files:
https://codeberg.org/etux/Node_App_Template/src/branch/main/login.mu#L23
f166946957ffb27d92b196df868cc20c:/page/index.mu

Should probably keep an in memory cache of established links to nodes, and use that if possible, otherwise if none exists, or it's stale/closed, establish a new link...

@liamcottle
Copy link
Owner Author

This will do the trick for now: bd3c6fd

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant