diff --git a/packages/oss-console/src/components/Executions/ExecutionDetails/ExecutionNodeURL.tsx b/packages/oss-console/src/components/Executions/ExecutionDetails/ExecutionNodeURL.tsx index 61abdc590..48fd07283 100644 --- a/packages/oss-console/src/components/Executions/ExecutionDetails/ExecutionNodeURL.tsx +++ b/packages/oss-console/src/components/Executions/ExecutionDetails/ExecutionNodeURL.tsx @@ -3,6 +3,7 @@ import { Prism as SyntaxHighlighter } from 'react-syntax-highlighter'; import { prism } from 'react-syntax-highlighter/dist/esm/styles/prism'; import FileCopyIcon from '@mui/icons-material/FileCopy'; import copyToClipboard from 'copy-to-clipboard'; +import { env } from '@clients/common/environment'; import { errorBackgroundColor } from '@clients/theme/CommonStyles/constants'; import Button from '@mui/material/Button'; import Typography from '@mui/material/Typography'; @@ -11,7 +12,6 @@ import Grid from '@mui/material/Grid'; import Link from '@mui/material/Link'; import { RowExpander } from '../Tables/RowExpander'; import { ScrollableMonospaceText } from '../../common/ScrollableMonospaceText'; -import { env } from '@clients/common/environment'; const StyledScrollableMonospaceText = styled(ScrollableMonospaceText)(({ theme }) => ({ '&>div': { @@ -33,6 +33,7 @@ export const ExecutionNodeURL: React.FC<{ const ref = React.useRef(null); const config = + // eslint-disable-next-line no-nested-ternary env.CODE_SNIPPET_USE_AUTO_CONFIG === "true" ? 'Config.auto()' : isHttps