Client - fix api URL

This commit is contained in:
Sam 2021-10-01 18:19:43 +02:00
parent 7157f53298
commit ebf15c46e8

View File

@ -10,7 +10,7 @@ import { IWorkoutsState } from '@/store/modules/workouts/types'
export const getApiUrl = (): string => {
return process.env.NODE_ENV === 'production'
? '/api'
? '/api/'
: `${process.env.VUE_APP_API_URL}/api/`
}