-
Notifications
You must be signed in to change notification settings - Fork 273
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
Codebase Server: remove the generated port and token #5461
Conversation
9eef182
to
5371b2d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good 👍🏼
Is there any documentation that needs updating as well?
P.s. looks like you need to remove cryptonite from the appropriate package now that it's not used as well :) |
4c63cf4
to
3fcd4cb
Compare
Should we be making sure we're binding on localhost and not all interfaces? (iirc it was doing the the latter but I'm not able to check at the moment) |
@aryairani I think I'll need help sorting that out. |
I'm learning too, but it looks like that's happening here: unison/unison-share-api/src/Unison/Server/CodebaseServer.hs Lines 461 to 465 in 3fcd4cb
But this raises a question. On line 465 we expect |
13ab260
to
fbe929d
Compare
Run the CodebaseServer with a default port and token as well as allowing UCM Desktop domains to perform CORS requests. Keep the command line options to set a specific port, token, and add allow CORS domains.T
fbe929d
to
70127ad
Compare
@aryairani ok this is ready for another look I think. |
Update UCM Desktop to connect to the API on `http://127.0.0.1:5858/codebase/api` reflecting the recent UCM change (unisonweb/unison#5461) to remove the autogenerated port and token in favor of defaults.
Update UCM Desktop to connect to the API on `http://127.0.0.1:5858/codebase/api` reflecting the recent UCM change (unisonweb/unison#5461) to remove the autogenerated port and token in favor of defaults.
Co-authored-by: Arya Irani <[email protected]>
Run the CodebaseServer with a default port and token as well as allowing UCM Desktop domains to perform CORS requests.
Keep the command line options to set a specific port, token, and add allow CORS domains.T