Skip to content

Commit 5b2864f

Browse files
Zachery Thomas RichardetZachery Thomas Richardet
authored andcommitted
roll back a breaking change
1 parent 84c91ca commit 5b2864f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/components/PrecomputedExamples.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ const displayGeoJSON = (geojson: GeoJSONResponse) => {
8888
const 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`, {

src/components/RunInference.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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',

0 commit comments

Comments
 (0)