fix: set artifact previewPath to / so landing page and /tower route in production
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user