mirror of
https://github.com/documenso/documenso.git
synced 2025-11-13 16:23:06 +10:00
fix: update env entries to evaluate at runtime
This commit is contained in:
@ -11,7 +11,7 @@ export type GetLimitsOptions = {
|
||||
export const getLimits = async ({ headers }: GetLimitsOptions = {}) => {
|
||||
const requestHeaders = headers ?? {};
|
||||
|
||||
const url = new URL('/api/limits', APP_BASE_URL ?? 'http://localhost:3000');
|
||||
const url = new URL('/api/limits', APP_BASE_URL() ?? 'http://localhost:3000');
|
||||
|
||||
return fetch(url, {
|
||||
headers: {
|
||||
|
||||
Reference in New Issue
Block a user