Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion airflow-core/src/airflow/ui/src/pages/ReactPlugin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ type PluginComponentType = FC<PluginProps>;

const loadPlugin = (reactApp: ReactAppResponse): Promise<{ default: PluginComponentType }> =>
// We are assuming the plugin manager is trusted and the bundle_url is safe
import(/* @vite-ignore */ reactApp.bundle_url)
import(/* @vite-ignore */ new URL(reactApp.bundle_url, document.baseURI).href)
.then(() => {
// Store components in globalThis[reactApp.name] to avoid conflicts with the shared globalThis.AirflowPlugin
// global variable.
Expand Down
Loading