diff --git a/src/package/components/Button.svelte b/src/package/components/Button.svelte
index 54215760..4b0c3873 100644
--- a/src/package/components/Button.svelte
+++ b/src/package/components/Button.svelte
@@ -30,6 +30,12 @@
export let disabled = false;
+ /** Hover title for accessibility */
+ export let title = '';
+
+ /** Link target */
+ export let target = '';
+
let className: string;
$: className = classCombine([
'button',
@@ -40,11 +46,11 @@
{#if as === 'a'}
-
+
{:else}
-
+
{/if}
diff --git a/src/package/plugins/generator/index.js b/src/package/plugins/generator/index.js
index e34c1986..74f7576b 100644
--- a/src/package/plugins/generator/index.js
+++ b/src/package/plugins/generator/index.js
@@ -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/';