Skip to content

Commit b403430

Browse files
committed
Add project routing with storage and worker backends
Migration 21: - Replace endpoints table with view combining workers and projects - Add project_routes with primary key on (project_id, pattern) - Support storage and worker backend types - Add triggers to sync main worker and project names - Add resolve_worker_from_request() for unified routing CLI: - Smart URL display: show workers.rocks only for default cloud - Add is_default_cloud() to Backend trait - DB backend queries custom domains - Fix URL formatting based on backend type Related changes: - Make DEFAULT_API_URL public in config - Update workers command to handle different backend URLs
1 parent 53f0825 commit b403430

10 files changed

Lines changed: 724 additions & 15 deletions

File tree

.vscode/settings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"cSpell.words": ["binstall", "psql", "reqwest"]
3+
}

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "openworkers-cli"
3-
version = "0.2.7"
3+
version = "0.2.8"
44
edition = "2024"
55
license = "MIT"
66
description = "CLI for OpenWorkers - Self-hosted Cloudflare Workers runtime"

0 commit comments

Comments
 (0)