Skip to content

Commit

Permalink
Add 'legacy' and 'demo' fields to v2
Browse files Browse the repository at this point in the history
Signed-off-by: Ashcon Partovi <[email protected]>
  • Loading branch information
Electroid committed Nov 7, 2020
1 parent 3d1ac53 commit aff2032
Show file tree
Hide file tree
Showing 10 changed files with 755 additions and 1,365 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,7 @@ typings/

# Serverless folder
.serverless

# wrangler files
worker
dist/worker.js
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ Username or UUID -> Everything<br>
"signature": <base64>
}
},
"legacy": <true|null>,
"demo": <true|null>,
"created_at": <date|null>
}
```
Expand Down Expand Up @@ -82,8 +84,6 @@ UUID -> Profile + Textures<br>
### Build

```
npm i
npm run build
npm run preview -- \
--preview-url https://localhost/mojang/v2/user/Notch
wrangler build
wrangler preview
```
8 changes: 4 additions & 4 deletions dist/bundleV2.js

Large diffs are not rendered by default.

25 changes: 0 additions & 25 deletions metadata.json

This file was deleted.

Loading

0 comments on commit aff2032

Please sign in to comment.