Files
timmy-tower/artifacts/api-server/.replit-artifact/artifact.toml
alexpaynex 244823be76 Configure VM deployment and improve path resolution for frontend assets
Update `artifact.toml` to set `deploymentTarget = "vm"` and refactor path resolution logic in `app.ts` for serving frontend assets, ensuring compatibility across different execution environments.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 90c7a60b-2c61-4699-b5c6-6a1ac7469a4d
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: 7fd478cc-db13-47a8-8b57-14de9846c02a
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/9f85e954-647c-46a5-90a7-396e495a805a/90c7a60b-2c61-4699-b5c6-6a1ac7469a4d/hoGhXo5
Replit-Helium-Checkpoint-Created: true
2026-03-20 01:09:00 +00:00

27 lines
530 B
TOML

kind = "api"
previewPath = "/"
title = "API Server"
version = "1.0.0"
id = "3B4_FFSkEVBkAeYMFRJ2e"
deploymentTarget = "vm"
[[services]]
localPort = 8080
name = "API Server"
paths = ["/"]
[services.development]
run = "pnpm --filter @workspace/api-server run dev"
[services.production]
build = "pnpm --filter @workspace/api-server run build"
[services.production.run]
args = ["node", "artifacts/api-server/dist/index.cjs"]
[services.production.run.env]
PORT = "8080"
[services.production.health.startup]
path = "/api/healthz"