Skip to content

Commit 3b0a043

Browse files
committed
Release 0.2.0
1 parent d4bcaf0 commit 3b0a043

23 files changed

Lines changed: 409 additions & 5 deletions
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ Private experiment to create a game with cursor. Play it for free at https://com
3636
```
3737
3. To enable multiplayer in development, run both the dev server and the multiplayer server:
3838
```sh
39-
# In one terminal:
40-
npm run dev:mp
4139
# In another terminal:
4240
node server.js
41+
# In one terminal:
42+
npm run dev:mp
4343
```
4444
Open two browser windows at the shown URL (usually http://localhost:5173) to test multiplayer.
4545
4. If you see TypeScript errors about `import.meta.env`, ensure you have this line in `src/vite-env.d.ts`:
@@ -141,7 +141,7 @@ docker pull ghcr.io/commjoen/generated-game-experiment:latest
141141
docker pull ghcr.io/commjoen/generated-game-experiment:pr-123
142142

143143
# Specific release
144-
docker pull ghcr.io/commjoen/generated-game-experiment:v1.0.0
144+
docker pull ghcr.io/commjoen/generated-game-experiment:v0.2.0
145145
```
146146

147147
### PR Workflow

nginx/nginx.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ http {
2121
add_header X-Frame-Options "SAMEORIGIN" always;
2222
add_header X-Content-Type-Options "nosniff" always;
2323
add_header Referrer-Policy "strict-origin-when-cross-origin" always;
24-
add_header Content-Security-Policy "default-src 'self'; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; img-src 'self' data:; font-src 'self' data: ws: wss:; connect-src 'self' http://$host:3001/health ws://$host:3001 wss://$host:3001 http://$host:3001;" always;
24+
add_header Content-Security-Policy "default-src 'self'; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; img-src 'self' https://pixabay.com data:; font-src 'self' data: ws: wss:; connect-src 'self' https://pixabay.com http://$host:3001/health ws://$host:3001 wss://$host:3001 http://$host:3001;" always;
2525
# Uncomment if serving over HTTPS
2626
# add_header Strict-Transport-Security "max-age=63072000; includeSubDomains; preload" always;
2727
}

node_modules/.package-lock.json

Lines changed: 46 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node_modules/.vite/deps/_metadata.json

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node_modules/.vite/deps/package.json

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)