diff options
Diffstat (limited to 'cloud/app/src/routes/debug/index.ts')
| -rw-r--r-- | cloud/app/src/routes/debug/index.ts | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/cloud/app/src/routes/debug/index.ts b/cloud/app/src/routes/debug/index.ts new file mode 100644 index 000000000..1753cf59d --- /dev/null +++ b/cloud/app/src/routes/debug/index.ts @@ -0,0 +1,9 @@ +import type { APIEvent } from "@solidjs/start/server" +import { Resource } from "@opencode/cloud-resource" +import { json } from "@solidjs/router" + +export async function GET(evt: APIEvent) { + return json({ + data: Resource.Database.host, + }) +} |
