summaryrefslogtreecommitdiff
path: root/pages/models
diff options
context:
space:
mode:
Diffstat (limited to 'pages/models')
-rw-r--r--pages/models/_id/index.vue4
1 files changed, 2 insertions, 2 deletions
diff --git a/pages/models/_id/index.vue b/pages/models/_id/index.vue
index 1bb322e..e293584 100644
--- a/pages/models/_id/index.vue
+++ b/pages/models/_id/index.vue
@@ -235,10 +235,10 @@ export default {
);
},
isStl(path) {
- return this.checkExt(path, "stl");
+ return this.checkExt(path, "stl") || this.checkExt(path, "sla");
},
isObj(path) {
- return this.checkExt(path, "obj");
+ return this.checkExt(path, "obj") || this.checkExt(path, "octet-stream");
},
getFileName(path) {
return path.split("/").at(-1);