File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 11import axios from "axios" ;
2+ import versionData from '@/version.json' ;
23
34export const API_BASE_URL : string = process . env . NEXT_PUBLIC_API_URL ?? '' ;
45export const FRONTEND_URL : string = process . env . NEXT_PUBLIC_FRONT_URL ?? '' ;
56export const API_MQTT_WSS : string = process . env . NEXT_PUBLIC_MQTT_URL ?? '' ;
67export const API_MQTT_USER : string = process . env . NEXT_PUBLIC_API_MQTT_USER ?? '' ;
78export const API_MQTT_PASSWORD : string = process . env . NEXT_PUBLIC_API_MQTT_PASSWORD ?? '' ;
8- export const REACT_APP_GIT_VERSION : string = process . env . NEXT_PUBLIC_REACT_APP_GIT_VERSION ?? '' ;
9+ export const REACT_APP_GIT_VERSION : string = versionData . version ;
910// console.log(API_BASE_URL)
1011
1112const url = ( path : string ) => `${ API_BASE_URL } ${ path } `
Original file line number Diff line number Diff line change 1+ {
2+ "version" : " 2.1.6" ,
3+ "gitVersion" : " 2.1.6"
4+ }
You can’t perform that action at this time.
0 commit comments