diff --git a/src/services/climateService.ts b/src/services/climateService.ts index 258fcfd..5370bcc 100644 --- a/src/services/climateService.ts +++ b/src/services/climateService.ts @@ -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',