Skip to content

Commit

Permalink
fix: default token diver to localhost
Browse files Browse the repository at this point in the history
  • Loading branch information
wwills2 committed Jan 23, 2025
1 parent 813a69d commit 79fb364
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/services/climateService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import {
} from '@/types/ClimateServiceType'
import { createApi, fetchBaseQuery } from '@reduxjs/toolkit/query/react'

export const serviceURL = `${process.env.CLIMATE_TOKEN_DRIVER_HOST}:${
process.env.CLIMATE_TOKEN_DRIVER_PORT || '31314'
}`
export const serviceURL = `${
process.env.CLIMATE_TOKEN_DRIVER_HOST || 'http://localhost'
}:${process.env.CLIMATE_TOKEN_DRIVER_PORT || '31314'}`

export const climateServiceApi = createApi({
reducerPath: 'climateServiceApi',
Expand Down

0 comments on commit 79fb364

Please sign in to comment.