ignore: fix dev remote
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vinxi dev --host 0.0.0.0",
|
"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",
|
"build": "vinxi build",
|
||||||
"start": "vinxi start",
|
"start": "vinxi start",
|
||||||
"version": "0.5.28"
|
"version": "0.5.28"
|
||||||
|
|||||||
@@ -17,6 +17,7 @@ export const AuthClient = createClient({
|
|||||||
export const getActor = query(async (): Promise<Actor.Info> => {
|
export const getActor = query(async (): Promise<Actor.Info> => {
|
||||||
"use server"
|
"use server"
|
||||||
const evt = getRequestEvent()
|
const evt = getRequestEvent()
|
||||||
|
console.log(evt?.request.url)
|
||||||
const url = new URL(evt!.request.headers.get("referer") ?? evt!.request.url)
|
const url = new URL(evt!.request.headers.get("referer") ?? evt!.request.url)
|
||||||
const auth = await useAuthSession()
|
const auth = await useAuthSession()
|
||||||
const splits = url.pathname.split("/").filter(Boolean)
|
const splits = url.pathname.split("/").filter(Boolean)
|
||||||
|
|||||||
@@ -1,9 +1,6 @@
|
|||||||
{
|
{
|
||||||
"$schema": "https://json.schemastore.org/tsconfig",
|
"$schema": "https://json.schemastore.org/tsconfig",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"customConditions": [
|
|
||||||
"workers"
|
|
||||||
],
|
|
||||||
"target": "ESNext",
|
"target": "ESNext",
|
||||||
"module": "ESNext",
|
"module": "ESNext",
|
||||||
"moduleResolution": "bundler",
|
"moduleResolution": "bundler",
|
||||||
|
|||||||
@@ -1,2 +1 @@
|
|||||||
console.log(process.env)
|
|
||||||
export { Resource } from "sst"
|
export { Resource } from "sst"
|
||||||
|
|||||||
Reference in New Issue
Block a user