Home > widget-integration > CountdownTimerAPI > resolveBaseURL
CountdownTimerAPI.resolveBaseURL() method
Derive the countdown-timer base URL from the filterUrl.
Signature:
protected resolveBaseURL(): string;
Returns:
string
The base URL for countdown timer API calls.
Remarks
Strips the trailing /filter segment from TAEAppConfig.filterUrl because the countdown-timer endpoint lives at the service root.
Example
Override for shops using a custom API proxy:
protected resolveBaseURL() {
return 'https://custom-proxy.myshop.com/boost-api';
}