From 91e468791eb5fe9fa362299cc56cff9bc5746b9f Mon Sep 17 00:00:00 2001 From: diced Date: Sun, 26 Mar 2023 20:45:01 -0700 Subject: [PATCH] feat(3.7.0): version --- package.json | 2 +- src/pages/api/version.ts | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 72a6970..e1a172d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "zipline", - "version": "3.7.0-rc7", + "version": "3.7.0", "license": "MIT", "scripts": { "dev": "npm-run-all build:server dev:run", diff --git a/src/pages/api/version.ts b/src/pages/api/version.ts index 93e9cae..982ba9b 100644 --- a/src/pages/api/version.ts +++ b/src/pages/api/version.ts @@ -7,8 +7,7 @@ async function handler(_: NextApiReq, res: NextApiRes) { const pkg = JSON.parse(await readFile('package.json', 'utf8')); - // TODO: this needs to change to zipline.diced.tech once 3.7.0 is released - const re = await fetch('https://trunk.zipline.diced.tech/api/version?c=' + pkg.version); + const re = await fetch('https://zipline.diced.tech/api/version?c=' + pkg.version); const json = await re.json(); let updateToType = 'stable';