ignore: fix dev remote

This commit is contained in:
Dax Raad
2025-08-30 01:06:48 -04:00
parent f821b55514
commit 52b3eddeee
4 changed files with 2 additions and 5 deletions

View File

@@ -3,7 +3,7 @@
"type": "module",
"scripts": {
"dev": "vinxi dev --host 0.0.0.0",
"dev:remote": "bun sst shell --target=Console --stage=dev bun dev",
"dev:remote": "VITE_AUTH_URL=https://auth.dev.opencode.ai bun sst shell --stage=dev bun dev",
"build": "vinxi build",
"start": "vinxi start",
"version": "0.5.28"

View File

@@ -17,6 +17,7 @@ export const AuthClient = createClient({
export const getActor = query(async (): Promise<Actor.Info> => {
"use server"
const evt = getRequestEvent()
console.log(evt?.request.url)
const url = new URL(evt!.request.headers.get("referer") ?? evt!.request.url)
const auth = await useAuthSession()
const splits = url.pathname.split("/").filter(Boolean)

View File

@@ -1,9 +1,6 @@
{
"$schema": "https://json.schemastore.org/tsconfig",
"compilerOptions": {
"customConditions": [
"workers"
],
"target": "ESNext",
"module": "ESNext",
"moduleResolution": "bundler",

View File

@@ -1,2 +1 @@
console.log(process.env)
export { Resource } from "sst"