luizotavio32 commented on code in PR #41938:
URL: https://github.com/apache/superset/pull/41938#discussion_r3572769741
##########
superset-frontend/src/middleware/loggerMiddleware.ts:
##########
@@ -131,6 +136,12 @@ const logMessageQueue = new
DebouncedMessageQueue<LogEventData>({
delayThreshold: 1000,
});
+// Embedded dashboards are served from `/dashboard/:idOrSlug/embedded/` and
+// `/embedded/:uuid/`. Matching these specific shapes avoids false positives
+// for regular dashboards (e.g. a dashboard whose slug is "embedded").
+const EMBEDDED_ROUTE_REGEX =
+ /\/dashboard\/[^/]+\/embedded\/|\/embedded\/[^/]+\//;
Review Comment:
Addressed. Also opened a [PR](https://github.com/apache/superset/pull/42005)
to master
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]