Skip to content

Commit d8a8069

Browse files
authored
fix #170: Web UI adds a local file resource as HTTP (#174)
1 parent 3d33c86 commit d8a8069

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/src/Pages/Resources/ResourcesPage.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ const AddResourceModal: React.FC<AddResourceModalProps> = ({
164164
const [resourceName, setResourceName] = useState("");
165165
const [description, setDescription] = useState("");
166166
const [location, setLocation] = useState("");
167-
const [resourceType, setResourceType] = useState("http");
167+
const [resourceType, setResourceType] = useState("file");
168168

169169
const handleSubmit = () => {
170170
onSubmit({

0 commit comments

Comments
 (0)