mirror of
https://github.com/formbricks/formbricks.git
synced 2025-12-30 02:10:12 -06:00
add current page url to formbricks-js logging (#337)
This commit is contained in:
@@ -10,7 +10,7 @@ const logger = Logger.getInstance();
|
||||
const errorHandler = ErrorHandler.getInstance();
|
||||
|
||||
export const checkPageUrl = async (): Promise<Result<void, InvalidMatchTypeError | NetworkError>> => {
|
||||
logger.debug("Checking page url");
|
||||
logger.debug(`Checking page url: ${window.location.href}`);
|
||||
const { settings } = config.get();
|
||||
const pageUrlEvents: Event[] = settings?.noCodeEvents.filter((e) => e.noCodeConfig?.type === "pageUrl");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user