Michele 5c06b1a342 fix: add trailing slashes to settings and prompts API calls
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>
2026-03-09 12:54:46 +01:00

postgenerator

Lab project hosted at https://lab.mlhub.it/postgenerator/

Development

This project uses gsd (get-shit-done) for spec-driven development.

Getting Started

  1. Run /gsd:new-project to initialize project specs
  2. Follow gsd workflow: discuss > plan > execute > verify
  3. Run vps-lab-deploy when 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

Deployment

When ready to deploy, use vps-lab-deploy skill.

Description
postgenerator - Lab project
Readme 381 KiB
Languages
TypeScript 50.1%
Python 48.9%
Dockerfile 0.5%
CSS 0.2%
JavaScript 0.2%
Other 0.1%