5c06b1a342579fc79b28914238f453edf5590ece
Without trailing slash, FastAPI's SPAStaticFiles catch-all intercepts /api/settings and /api/prompts before the API router, returning HTML instead of JSON (405 error in UI). Affected endpoints: - GET /api/settings → /api/settings/ - PUT /api/settings → /api/settings/ - GET /api/prompts → /api/prompts/ Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
postgenerator
Lab project hosted at https://lab.mlhub.it/postgenerator/
Development
This project uses gsd (get-shit-done) for spec-driven development.
Getting Started
- Run
/gsd:new-projectto initialize project specs - Follow gsd workflow: discuss > plan > execute > verify
- Run
vps-lab-deploywhen ready to deploy
Project Structure
postgenerator/
├── .planning/ # gsd planning docs (created by /gsd:new-project)
│ ├── PROJECT.md # Project vision
│ ├── REQUIREMENTS.md # Scoped requirements
│ ├── ROADMAP.md # Phase breakdown
│ └── STATE.md # Project memory
├── src/ # Source code (created during development)
└── README.md # This file
Repository
- Gitea: https://git.mlhub.it/Michele/postgenerator
- Clone:
git clone https://git.mlhub.it/Michele/postgenerator.git
Deployment
When ready to deploy, use vps-lab-deploy skill.
- URL: https://lab.mlhub.it/postgenerator/
- VPS: /opt/lab-postgenerator/
Description
Languages
TypeScript
50.1%
Python
48.9%
Dockerfile
0.5%
CSS
0.2%
JavaScript
0.2%
Other
0.1%