File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ const displayGeoJSON = (geojson: GeoJSONResponse) => {
8888const handleExampleRequest = async () => {
8989 isProcessing .value = true
9090 message .value = { type: ' loading' , text: ' Processing example...' }
91- const apiBaseUrl = import .meta .env .PROD ? import . meta . env . VITE_API_BASE_URL : ' /api '
91+ const apiBaseUrl = import .meta .env .VITE_API_BASE_URL
9292 try {
9393 const token = generateJWT ()
9494 const response = await fetch (` ${apiBaseUrl }/example ` , {
Original file line number Diff line number Diff line change @@ -179,7 +179,7 @@ const handleCompareTiles = async () => {
179179 const token = generateJWT ()
180180
181181 // Create project
182- const apiBaseUrl = import .meta .env .PROD ? import . meta . env . VITE_API_BASE_URL : ' /api '
182+ const apiBaseUrl = import .meta .env .VITE_API_BASE_URL
183183
184184 const createResponse = await fetch (` ${apiBaseUrl }/projects ` , {
185185 method: ' POST' ,
You can’t perform that action at this time.
0 commit comments