Skip to content

Commit ff95d37

Browse files
committed
feat: add application/wasm support
1 parent 62fdab8 commit ff95d37

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

demos/nginx-demo/README.md

+5-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22

33
1. 复制项目根目录下的 `ezuikit.js``ezuikit_static`到 当前目录的`html`
44

5-
2. window 下启动当前目录下的`nginx.exe`
5+
2. nginx 新增 `application/wasm` 支持,当前项目 `conf/mine.types` 中已更新
6+
7+
3. window 下启动当前目录下的`nginx.exe`
68

79
```bash
810

@@ -20,7 +22,7 @@
2022

2123
备注: 同源仅支持 https
2224

23-
## 同源说明
25+
## 同源说明
2426

2527
https://open.ys7.com/help/1772?h=Cross-Origin-Embedder-Policy
2628

@@ -30,4 +32,4 @@ https://open.ys7.com/help/1772?h=Cross-Origin-Embedder-Policy
3032
[Cross-Origin-Opener-Policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cross-Origin-Opener-Policy)
3133

3234

33-
备注: 同源仅支持 https
35+
备注: 同源仅支持 https

demos/nginx-demo/conf/mime.types

+1
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ types {
6767
application/xhtml+xml xhtml;
6868
application/xspf+xml xspf;
6969
application/zip zip;
70+
application/wasm wasm;
7071

7172
application/octet-stream bin exe dll;
7273
application/octet-stream deb;

0 commit comments

Comments
 (0)