From 4b4f3421fe181c61d06fd9426d87bcf99c19d66b Mon Sep 17 00:00:00 2001 From: Brian Douglas Date: Tue, 30 Jan 2024 14:59:05 -0800 Subject: [PATCH 1/2] fix: env url (#31) fix env url --- .env | 2 +- hooks/useSWR.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.env b/.env index 41b9d40..82ee1e8 100644 --- a/.env +++ b/.env @@ -1,2 +1,2 @@ -NEXT_PUBLIC_API_URL=https://api.opensauced.pizza/v2 +NEXT_PUBLIC_V2_API_URL=https://api.opensauced.pizza/v2 NEXT_PUBLIC_BETA_API_URL=https://beta.api.opensauced.pizza/v2 diff --git a/hooks/useSWR.ts b/hooks/useSWR.ts index 398e003..614c9b0 100644 --- a/hooks/useSWR.ts +++ b/hooks/useSWR.ts @@ -1,6 +1,6 @@ import { Fetcher } from "swr"; -const baseUrl = process.env.NEXT_PUBLIC_BETA_API_URL; +const baseUrl = process.env.NEXT_PUBLIC_V2_API_URL; const apiFetcher: Fetcher = async (apiUrl: string) => { const res = await fetch(`${baseUrl}/${apiUrl}`, { headers: { accept: "application/json" } }); From 4814fa6672d556a974a1d3b1bd1414d46a42c0f0 Mon Sep 17 00:00:00 2001 From: Brian Douglas Date: Tue, 30 Jan 2024 23:00:17 +0000 Subject: [PATCH 2/2] chore(patch): release 1.2.1-beta.1 on beta channel [skip ci] MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ### [1.2.1-beta.1](https://github.com/open-sauced/contributor.info/compare/v1.2.0...v1.2.1-beta.1) (2024-01-30) ### 🐛 Bug Fixes * env url ([#31](https://github.com/open-sauced/contributor.info/issues/31)) ([4b4f342](https://github.com/open-sauced/contributor.info/commit/4b4f3421fe181c61d06fd9426d87bcf99c19d66b)) --- CHANGELOG.md | 7 +++++++ npm-shrinkwrap.json | 4 ++-- package.json | 2 +- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2efddd6..39db5d0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,13 @@ > All notable changes to this project will be documented in this file +### [1.2.1-beta.1](https://github.com/open-sauced/contributor.info/compare/v1.2.0...v1.2.1-beta.1) (2024-01-30) + + +### 🐛 Bug Fixes + +* env url ([#31](https://github.com/open-sauced/contributor.info/issues/31)) ([4b4f342](https://github.com/open-sauced/contributor.info/commit/4b4f3421fe181c61d06fd9426d87bcf99c19d66b)) + ## [1.2.0-beta.1](https://github.com/open-sauced/contributor.info/compare/v1.1.0...v1.2.0-beta.1) (2024-01-05) diff --git a/npm-shrinkwrap.json b/npm-shrinkwrap.json index 12c5510..620a953 100644 --- a/npm-shrinkwrap.json +++ b/npm-shrinkwrap.json @@ -1,12 +1,12 @@ { "name": "@open-sauced/contributors.info", - "version": "1.2.0-beta.1", + "version": "1.2.1-beta.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@open-sauced/contributors.info", - "version": "1.2.0-beta.1", + "version": "1.2.1-beta.1", "hasInstallScript": true, "license": "MIT", "dependencies": { diff --git a/package.json b/package.json index aa43df8..0e43061 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@open-sauced/contributors.info", - "version": "1.2.0-beta.1", + "version": "1.2.1-beta.1", "private": true, "license": "MIT", "homepage": "https://contributor.info",