Skip to content

Commit c10e33b

Browse files
committed
feat: canvas/ nginx
1 parent b06ea37 commit c10e33b

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

snippetTexts/canvas.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
<canvas id="glcanvas" width="640" height="480">
1+
<canvas id="canvas" width="640" height="480">
22
你的浏览器似乎不支持或者禁用了 HTML5 <code>&lt;canvas&gt;</code> 元素。
33
</canvas>

snippetTexts/nginx.yaml

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
version: '3'
2+
services:
3+
nginx:
4+
image: nginx:latest
5+
ports:
6+
- 18000:80
7+
volumes:
8+
# - ./nginx.conf:/etc/nginx/nginx.conf
9+
- .:/usr/share/nginx/html
10+
restart: always

0 commit comments

Comments
 (0)