|
|
@ -60,6 +60,7 @@ public class Assistant { |
|
|
|
if (path.endsWith(".eot")) { |
|
|
|
if (path.endsWith(".eot")) { |
|
|
|
return "embedded-opentype"; |
|
|
|
return "embedded-opentype"; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
Path file = new File(path).toPath(); |
|
|
|
Path file = new File(path).toPath(); |
|
|
|
try { |
|
|
|
try { |
|
|
|
return Files.probeContentType(file); |
|
|
|
return Files.probeContentType(file); |
|
|
|