首次提交: OnebotCatalog 项目代码与文档(含 NX 按需生成服务二期、后台、一键启动)
This commit is contained in:
8
viewer/STEPViewer/.htaccess
Normal file
8
viewer/STEPViewer/.htaccess
Normal file
@@ -0,0 +1,8 @@
|
||||
# WebAssembly 必须带正确的 MIME,否则 occt 引擎的 instantiateStreaming 会失败
|
||||
AddType application/wasm .wasm
|
||||
AddType text/javascript .js .mjs
|
||||
|
||||
# 禁止直接下载模型文件(.stp/.step/.enc 只能通过查看器令牌通道读取)
|
||||
<FilesMatch "\.(stp|step|enc|STP|STEP)$">
|
||||
Require all denied
|
||||
</FilesMatch>
|
||||
Reference in New Issue
Block a user