You've already forked AstralRinth
forked from didirus/AstralRinth
Fix generator API URL & Button props
This commit is contained in:
@@ -5,7 +5,7 @@ import { gameVersions } from './outputs/gameVersions.js';
|
||||
import { tags } from './outputs/tags.js';
|
||||
|
||||
const API_URL =
|
||||
process.env.VITE_API_URL || process.env?.NODE_ENV === 'development'
|
||||
process.env.VITE_API_URL && process.env.VITE_API_URL === 'https://staging-api.modrinth.com/v2/'
|
||||
? 'https://staging-api.modrinth.com/v2/'
|
||||
: 'https://api.modrinth.com/v2/';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user