Skip to content

Commit

Permalink
tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
shimech committed Jan 21, 2024
1 parent fb2942d commit beacd8e
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,5 +1,5 @@
{
"name": "pokemon-shuzokuchi-quiz-neo",
"name": "pokemon-shuzokuchi-quiz",
"version": "1.0.13",
"private": true,
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/contexts/PokemonsContextProvider/fetchPokemons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import type { Pokemon } from "@/types/Pokemon";

const URL =
process.env.NODE_ENV === "production"
? "https://raw.githubusercontent.com/shimech/pokemon-shuzokuchi-quiz-neo/main/public/api/pokemons.json"
? "https://raw.githubusercontent.com/shimech/pokemon-shuzokuchi-quiz/main/public/api/pokemons.json"
: "http://localhost:3000/api/pokemons.json";

export const fetchPokemons = async () => {
Expand Down

0 comments on commit beacd8e

Please sign in to comment.