Skip to content

Serve HTML#53

Merged
zedimytch merged 13 commits into
masterfrom
feature/serve-static-html
Mar 16, 2026
Merged

Serve HTML#53
zedimytch merged 13 commits into
masterfrom
feature/serve-static-html

Conversation

@zedimytch
Copy link
Copy Markdown
Collaborator

@zedimytch zedimytch commented Mar 11, 2026

Closes CSF-1149

image image

Note

Low Risk
Low risk: adds a simple root route to serve a bundled static HTML page and adjusts the container image to include it. Main risk is deployment/runtime path issues if static/index.html is missing or the working directory changes.

Overview
Adds a minimal web UI by serving static/index.html on GET / while keeping the existing API mounted under /api.

Updates the Dockerfile to set WORKDIR /app, copy the HTML asset into the runtime distroless image, and fixes the container CMD to run the binary from the correct path.

Written by Cursor Bugbot for commit 36ba124. This will update automatically on new commits. Configure here.

@zedimytch zedimytch self-assigned this Mar 11, 2026
@zedimytch zedimytch added the Enhancement New feature or request label Mar 11, 2026
@linear
Copy link
Copy Markdown

linear Bot commented Mar 11, 2026

Base automatically changed from feature/deployment-workflows to master March 11, 2026 22:54
@zedimytch zedimytch marked this pull request as ready for review March 11, 2026 22:55
Comment thread static/index.html Outdated
Comment thread server/server.go
Comment thread static/index.html Outdated
@zedimytch zedimytch requested a review from Step7750 March 11, 2026 23:20
Comment thread static/index.html
Copy link
Copy Markdown

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Comment thread static/index.html Outdated
Comment thread static/index.html Outdated
Comment thread static/index.html
@zedimytch zedimytch requested a review from Step7750 March 13, 2026 21:49
Comment thread static/index.html Outdated
@zedimytch zedimytch merged commit 6149a3c into master Mar 16, 2026
3 checks passed
@zedimytch zedimytch deleted the feature/serve-static-html branch March 16, 2026 17:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants