summaryrefslogtreecommitdiffhomepage
path: root/cloud/app/src/routes/debug
diff options
context:
space:
mode:
authorDax Raad <[email protected]>2025-08-30 00:58:22 -0400
committerDax Raad <[email protected]>2025-08-30 00:58:22 -0400
commitf821b555140cc41f68c7c034bb82ae0cb07d7321 (patch)
tree1f7f5b7d6534f02809bdded6ab311603930cfa0e /cloud/app/src/routes/debug
parent37f284f9a97d3354143d64fc76c2eb9f7d9ccf9e (diff)
downloadopencode-f821b555140cc41f68c7c034bb82ae0cb07d7321.tar.gz
opencode-f821b555140cc41f68c7c034bb82ae0cb07d7321.zip
ignore: cloud resource
Diffstat (limited to 'cloud/app/src/routes/debug')
-rw-r--r--cloud/app/src/routes/debug/index.ts9
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,
+ })
+}