Skip to content

feat: Add client config route to Caddy#286

Merged
Dadadah merged 3 commits into
mainfrom
feat/apiroute
Jun 28, 2026
Merged

feat: Add client config route to Caddy#286
Dadadah merged 3 commits into
mainfrom
feat/apiroute

Conversation

@Pecacheu

Copy link
Copy Markdown
Contributor

Porting this over from stoatchat/for-web#1308 to use Caddy instead so it will work in the field instead of only when Vite is serving. I also added setting the VITE_GIFBOX_URL parameter so that it matches. Currently this cannot be retrieved from the backend API afaik.

Signed-off-by: Pecacheu <3608878+Pecacheu@users.noreply.github.com>
Comment thread generate_config.sh Outdated
@IAmTomahawkx

Copy link
Copy Markdown
Member

there shouldnt be any configuration served from this file other than the api url, so the gifbox url should be removed. Thats something that should be served by the root payload of the api.

Signed-off-by: Pecacheu <3608878+Pecacheu@users.noreply.github.com>
Comment thread Caddyfile Outdated
Comment thread generate_config.sh Outdated
Signed-off-by: Pecacheu <3608878+Pecacheu@users.noreply.github.com>
@Dadadah Dadadah merged commit d59a061 into main Jun 28, 2026
2 checks passed
@Dadadah Dadadah deleted the feat/apiroute branch June 28, 2026 01:30
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.

3 participants