fix: set artifact previewPath to / so landing page and /tower route in production

This commit is contained in:
Replit Agent
2026-03-19 14:15:13 +00:00
parent 567ee396a0
commit db28efca6d

View File

@@ -1,5 +1,5 @@
kind = "api"
previewPath = "/api" # TODO - should be excluded from preview in the first place
previewPath = "/"
title = "API Server"
version = "1.0.0"
id = "3B4_FFSkEVBkAeYMFRJ2e"
@@ -7,7 +7,7 @@ id = "3B4_FFSkEVBkAeYMFRJ2e"
[[services]]
localPort = 8080
name = "API Server"
paths = ["/api"]
paths = ["/"]
[services.development]
run = "pnpm --filter @workspace/api-server run dev"