refactor: switch Kit stack from path to subdomain routing
Changed from path-based routing (kit.pivoine.art/vert, /paint) to subdomain routing (vert.kit.pivoine.art, paint.kit.pivoine.art) to fix CSS and JS asset loading issues. Changes: - Updated kit/compose.yaml: Removed path prefix stripping, using Host() rules - Updated arty.yml: Added KIT_VERT_TRAEFIK_HOST and KIT_PAINT_TRAEFIK_HOST - Updated CLAUDE.md: Changed URLs from paths to subdomains - Updated README.md: Updated all Kit references to use subdomains New URLs: - File converter: https://vert.kit.pivoine.art - Image editor: https://paint.kit.pivoine.art 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
18
CLAUDE.md
18
CLAUDE.md
@@ -251,13 +251,11 @@ Joplin Server note-taking and synchronization platform:
|
||||
5. Enter email and password created in step 1
|
||||
|
||||
### Kit (kit/compose.yaml)
|
||||
Unified toolkit combining file conversion and image editing:
|
||||
- **Base URL**: `kit.pivoine.art`
|
||||
- **Services**:
|
||||
- **Vert** (`/vert`): Universal file format converter
|
||||
- **Paint** (`/paint`): Web-based image editor
|
||||
Unified toolkit combining file conversion and image editing using subdomain routing:
|
||||
- **Vert**: `vert.kit.pivoine.art` - Universal file format converter
|
||||
- **Paint**: `paint.kit.pivoine.art` - Web-based image editor
|
||||
|
||||
#### Vert Service (`/vert`)
|
||||
#### Vert Service (vert.kit.pivoine.art)
|
||||
VERT universal file format converter:
|
||||
- WebAssembly-based file conversion (client-side processing)
|
||||
- Supports 250+ file formats (images, audio, documents, video)
|
||||
@@ -267,15 +265,15 @@ VERT universal file format converter:
|
||||
- Protected by HTTP Basic Auth (credentials in `.env`)
|
||||
|
||||
**Configuration**:
|
||||
- **PUB_HOSTNAME**: `kit.pivoine.art` (public hostname)
|
||||
- **PUB_HOSTNAME**: `vert.kit.pivoine.art` (public hostname)
|
||||
- **PUB_ENV**: `production` (environment mode)
|
||||
- **PUB_DISABLE_ALL_EXTERNAL_REQUESTS**: `true` (privacy mode)
|
||||
- **AUTH_USERS**: Shared HTTP Basic Auth credentials (htpasswd format in `.env`)
|
||||
|
||||
**Usage**:
|
||||
Access https://kit.pivoine.art/vert and drag/drop files to convert between formats. All processing happens in your browser using WebAssembly - no data is uploaded to the server.
|
||||
Access https://vert.kit.pivoine.art and drag/drop files to convert between formats. All processing happens in your browser using WebAssembly - no data is uploaded to the server.
|
||||
|
||||
#### Paint Service (`/paint`)
|
||||
#### Paint Service (paint.kit.pivoine.art)
|
||||
miniPaint web-based image editor built from GitHub:
|
||||
- Online image editor with layer support
|
||||
- Built directly from https://github.com/viliusle/miniPaint
|
||||
@@ -291,7 +289,7 @@ miniPaint web-based image editor built from GitHub:
|
||||
- Serves static files via nginx
|
||||
|
||||
**Usage**:
|
||||
Access https://kit.pivoine.art/paint to use the image editor. All editing happens in the browser - images are not uploaded to the server.
|
||||
Access https://paint.kit.pivoine.art to use the image editor. All editing happens in the browser - images are not uploaded to the server.
|
||||
|
||||
**Note**: Both Kit services are stateless and don't require backups as no data is persisted.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user