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
This commit is contained in:
@@ -3,6 +3,7 @@ previewPath = "/"
|
||||
title = "API Server"
|
||||
version = "1.0.0"
|
||||
id = "3B4_FFSkEVBkAeYMFRJ2e"
|
||||
deploymentTarget = "vm"
|
||||
|
||||
[[services]]
|
||||
localPort = 8080
|
||||
|
||||
Reference in New Issue
Block a user