Skip to content

Commit aff2032

Browse files
committed
Add 'legacy' and 'demo' fields to v2
Signed-off-by: Ashcon Partovi <ashcon@partovi.net>
1 parent 3d1ac53 commit aff2032

10 files changed

+755
-1365
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,3 +65,7 @@ typings/
6565

6666
# Serverless folder
6767
.serverless
68+
69+
# wrangler files
70+
worker
71+
dist/worker.js

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ Username or UUID -> Everything<br>
3737
"signature": <base64>
3838
}
3939
},
40+
"legacy": <true|null>,
41+
"demo": <true|null>,
4042
"created_at": <date|null>
4143
}
4244
```
@@ -82,8 +84,6 @@ UUID -> Profile + Textures<br>
8284
### Build
8385

8486
```
85-
npm i
86-
npm run build
87-
npm run preview -- \
88-
--preview-url https://localhost/mojang/v2/user/Notch
87+
wrangler build
88+
wrangler preview
8989
```

dist/bundleV2.js

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

metadata.json

Lines changed: 0 additions & 25 deletions
This file was deleted.

0 commit comments

Comments
 (0)