fix: use relative API URL for Docker compatibility
This commit is contained in:
parent
5c1ea12fc2
commit
b7f9be8fd9
@ -1,6 +1,6 @@
|
|||||||
import type { ListResponse, YearSummaryDto } from '@/models/TransactionModels'
|
import type { ListResponse, YearSummaryDto } from '@/models/TransactionModels'
|
||||||
|
|
||||||
const BASE_URL = 'https://localhost:7244/api/Transactions'
|
const BASE_URL = '/api/Transactions'
|
||||||
|
|
||||||
export const getTransactions = async (
|
export const getTransactions = async (
|
||||||
signal?: AbortSignal,
|
signal?: AbortSignal,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user