Skip to content

Commit

Permalink
feat: allow STL import, can be imported by OpenSCAD too
Browse files Browse the repository at this point in the history
  • Loading branch information
seasick committed Feb 4, 2024
1 parent 35fbb48 commit aec2430
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/fetcha.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export default async function fetcha(url: string): Promise<FetchaFile[]> {
// Depending on the host of the url, we will use a different fetch method
// to extract the download url(s).
const host = new URL(url).host;
const excludeStlRegex = /\.(?!stl)(?!3mf).*$/;
const excludeStlRegex = /\.(?!3mf).*$/;

switch (host) {
// Printables
Expand Down

0 comments on commit aec2430

Please sign in to comment.