From: Juliusz Chroboczek <jch@irif.fr>
To: Han So <hansolo2218@gmail.com>
Cc: galene@lists.galene.org
Subject: [Galene] Re: Client/server setup?
Date: Thu, 24 Nov 2022 21:05:42 +0100 [thread overview]
Message-ID: <87h6yow221.wl-jch@irif.fr> (raw)
In-Reply-To: <5026BF9F-202C-44B6-98CA-8C4A3D0C53B6@gmail.com>
> Has anyone done client server separation? Meaning the UI is on
> a different server than the server?
Sure. After the HTML/JS code is downloaded, the client connects to the
WebSocket specified in the "endpoint" field of the .status.json file:
$ curl https://galene.org:8443/group/public/.status.json
So you'd simply need to hack the code to provide a URL on a different
server:
https://github.com/jech/galene/blob/master/group/group.go#L1223
You'll probably also need to tweak the CORS headers.
-- Juliusz
next prev parent reply other threads:[~2022-11-24 20:05 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-23 20:08 [Galene] " Han So
2022-11-24 10:44 ` [Galene] " Jeroen van Veen
2022-11-24 20:05 ` Juliusz Chroboczek [this message]
2022-11-30 15:11 ` Han So
2022-12-02 3:15 ` Han So
2022-12-02 11:38 ` Juliusz Chroboczek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://lists.galene.org/postorius/lists/galene.lists.galene.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87h6yow221.wl-jch@irif.fr \
--to=jch@irif.fr \
--cc=galene@lists.galene.org \
--cc=hansolo2218@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox