mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-03-30 05:43:55 +00:00
ignore: fix dev remote
This commit is contained in:
parent
f821b55514
commit
52b3eddeee
@ -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"
|
||||
|
||||
@ -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)
|
||||
|
||||
@ -1,9 +1,6 @@
|
||||
{
|
||||
"$schema": "https://json.schemastore.org/tsconfig",
|
||||
"compilerOptions": {
|
||||
"customConditions": [
|
||||
"workers"
|
||||
],
|
||||
"target": "ESNext",
|
||||
"module": "ESNext",
|
||||
"moduleResolution": "bundler",
|
||||
|
||||
@ -1,2 +1 @@
|
||||
console.log(process.env)
|
||||
export { Resource } from "sst"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user