Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

fix: support selecting yaml extension when importing dsl file (#14088)

wellCh4n79d4db85419c
diff --git a/web/app/components/app/create-from-dsl-modal/uploader.tsx b/web/app/components/app/create-from-dsl-modal/uploader.tsx
index beb2b4b1a08..2a94d0a7e06 100644
--- a/web/app/components/app/create-from-dsl-modal/uploader.tsx
+++ b/web/app/components/app/create-from-dsl-modal/uploader.tsx
@@ -97,7 +97,7 @@ const Uploader: FC<Props> = ({
style={{ display: 'none' }}
type="file"
id="fileUploader"
- accept='.yml'
+ accept='.yaml,.yml'
onChange={fileChangeHandle}
/>
<div ref={dropRef}>