Skip to content

Commit

Permalink
aLive2D! 一个萌萌哒 Live2D API o(*≧▽≦)ツ
Browse files Browse the repository at this point in the history
  • Loading branch information
xiarimangguo authored Aug 5, 2021
1 parent 66963d1 commit f7ba2be
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions up.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ Access-Control-Allow-Headers: Content-Type, api_key, Authorization
Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
Access-Control-Allow-Origin: *
```
![跨域设置](https://91.90.194.171:8443/api/Live2D/start/10.gif)

- ##### 为什么模型文件404了?明明在这里的! #####
请在服务器中为`moc``mtn`文件设置正确的`Mime-type` `(Mime类型)`,避免莫名其妙的`404`问题
Expand All @@ -54,6 +55,7 @@ Access-Control-Allow-Origin: *
moc: application/octet-stream
mtn: application/octet-stream
```
![Mime-type设置](https://91.90.194.171:8443/api/Live2D/start/11.gif)

## 进阶配置 ##

Expand Down

0 comments on commit f7ba2be

Please sign in to comment.