Skip to content

[codex] remove tmp and uploads static mounts#218

Merged
iamh2o merged 1 commit intomainfrom
codex/remove-upload-tmp-static-mounts
Apr 3, 2026
Merged

[codex] remove tmp and uploads static mounts#218
iamh2o merged 1 commit intomainfrom
codex/remove-upload-tmp-static-mounts

Conversation

@iamh2o
Copy link
Copy Markdown
Contributor

@iamh2o iamh2o commented Apr 3, 2026

What changed

  • removed the FastAPI static mounts for /uploads and /tmp
  • added a regression test that asserts those paths are not mounted while /static and /templates remain mounted

Why

Those directories were being exposed as static routes directly from the app factory. This change removes that public serving path and keeps the route table aligned with the intended static surface.

Impact

Requests to /uploads/* and /tmp/* are no longer served by the Bloom app.

Validation

  • source ./activate local2 && pytest --no-cov tests/test_config_runtime.py

@iamh2o iamh2o merged commit 519ca62 into main Apr 3, 2026
4 of 5 checks passed
@iamh2o iamh2o deleted the codex/remove-upload-tmp-static-mounts branch April 3, 2026 12:44
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.

1 participant