mirror of
https://github.com/djdevin/recflare.git
synced 2026-09-08 14:41:28 -07:00
update some naming conventions
This commit is contained in:
@@ -518,7 +518,7 @@ const app = new Hono<App>({ strict: false })
|
||||
)
|
||||
|
||||
// ---- Room server ----------------------------------------------------------
|
||||
// Room data is read from the shared `rec-rooms` D1 (owned by the rooms worker).
|
||||
// Room data is read from the shared `recflare` D1 (owned by the rooms worker).
|
||||
// Register specific paths before the `/:id` param route.
|
||||
.get('/roomserver/rooms/bulk', async (c) => {
|
||||
const idParam = c.req.query('id')
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* Read helpers for the shared `rec-rooms` D1 database. The schema, migrations,
|
||||
* Read helpers for the shared `recflare` D1 database. The schema, migrations,
|
||||
* and seed are owned by the `rooms` worker (apps/rooms/src/rooms-db.ts +
|
||||
* migrations); this worker binds the same database read-only for its
|
||||
* `/roomserver/rooms/*` endpoints. Keep these queries in sync with the rooms
|
||||
|
||||
@@ -14,7 +14,7 @@ declare module 'cloudflare:test' {
|
||||
|
||||
const ORIGIN = 'https://example.com'
|
||||
|
||||
// The /roomserver/rooms/* routes read from the shared rec-rooms D1. Set up the
|
||||
// The /roomserver/rooms/* routes read from the shared recflare D1. Set up the
|
||||
// schema (matching the rooms worker's migration) + a couple of rooms for tests.
|
||||
const TEST_ROOMS = [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user