Skip to content

Commit

Permalink
Fix version checking
Browse files Browse the repository at this point in the history
  • Loading branch information
WinterFe committed Oct 15, 2022
1 parent d39d567 commit 3569123
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "zipline",
"version": "3.5.2",
"version": "3.5.3",
"license": "MIT",
"scripts": {
"dev": "cross-env REACT_EDITOR=code NODE_ENV=development tsx src/server",
Expand Down
2 changes: 1 addition & 1 deletion src/pages/api/version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ async function handler(req: NextApiReq, res: NextApiRes) {

const pkg = JSON.parse(await readFile('package.json', 'utf8'));

const re = await fetch('https://raw.githubusercontent.com/LunarsDev/lunarx/trunk/package.json?token=GHSAT0AAAAAABZWBS37Z5A6HKXGD7GUDZBCY2JJFDA');
const re = await fetch('https://raw.githubusercontent.com/LunarsDev/lunarx/trunk/package.json');
const upstreamPkg = await re.json();

return res.json({
Expand Down

0 comments on commit 3569123

Please sign in to comment.