Skip to content

Conversation

kixam
Copy link
Contributor

@kixam kixam commented Aug 29, 2025

Please consider adding an option to the TiddlyWiki5 server that disables CORS (ie. don't check same-origin).

Typical scenario is : from local TW5 file, use both a saver eg. TiddlyFox, AND a syncer eg. a modified TiddlyWeb, that syncs to a TiddlyWiki5 server, that is either on the local machine, or only accessible through a secure VPN.

FYI, the GitLab saver can be used "as is" from a local TW5 file (I verified that by modifying the saver mechanism to allow two savers to proceed instead of just one), so they must have disabled CORS in their default configuration. I suppose they trust their authentication system. TiddlyWiki server authentication seems rather weak for now, that is why i would not expose the server directly to the Internet in its current state.

The use of a proxy server was discussed do handle CORS, and I suppose it could be used to authenticate as well, but I would rather use a simpler solution for my use case.

Copy link

netlify bot commented Aug 29, 2025

Deploy Preview for tiddlywiki-previews ready!

Name Link
🔨 Latest commit bba1d4c
🔍 Latest deploy log https://app.netlify.com/projects/tiddlywiki-previews/deploys/68b23391344df2000869ad76
😎 Deploy Preview https://deploy-preview-9277--tiddlywiki-previews.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link

Confirmed: kixam has already signed the Contributor License Agreement (see contributing.md)

Copy link

📊 Build Size Comparison: empty.html

Branch Size
Base (master) 2537.6 KB
PR 2538.2 KB

Diff: ⬆️ Increase: +0.6 KB

@Jermolene
Copy link
Member

Thank you @kixam, that makes a lot of sense, and I would like to include this in v5.4.0

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

Successfully merging this pull request may close these issues.

2 participants