Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
lmj01 committed Apr 9, 2024
1 parent d3d3177 commit 4be67a0
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
3 changes: 3 additions & 0 deletions cg/library/cornerstonejs.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,6 @@ yarn run serve-static-examples
就是一个url, url scheme决定某个ImageLoader插件真实的加载图像,Cornerstone3D委托注册的ImageLoader去加载,这样Cornerstone3D就可以同时显示多张图像,来自不同服务上的各种协议

![image id](../images/cg/ct/image-id-format.png)

## 文档
- [一文(10图)了解Cornerstone3D核心概念(万字总结附导图) ](https://juejin.cn/post/7326432875955798027)
Binary file added images/axial_sagittal.webp
Binary file not shown.
11 changes: 10 additions & 1 deletion web/web.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

- [Web 文件系统(OPFS 及工具)介绍](https://hughfenghen.github.io/posts/2024/03/14/web-storage-and-opfs/)


## 认证机制

目前可参考的方案
Expand All @@ -20,6 +19,16 @@
- token在后台可不存储,只需判断是否过期或被篡改否
![preflight request](../dia/token.png)

### 跨域隔离(Cross Origin Isolation)

```html
<script src="a.js" crossorigin></script>
<!-- -->
<!-- cross-origin-resource-policy:cross-origin -->
```
// 使用*允许所有域名,或者只允许你需要的域名,只能写一个域名,不能有通配符,如有多个域名可通过脚本控制返回
Access-Control-Allow-Origin:https://www.example.com


## 记住密码

Expand Down

0 comments on commit 4be67a0

Please sign in to comment.