diff --git a/.env.example b/.env.example index 1a834d29c..86668314c 100644 --- a/.env.example +++ b/.env.example @@ -41,9 +41,15 @@ NUXT_CLOUDFLARE_API_TOKEN= # =================================== # Website Environment (Required) -# API base url: +# WolfStar bot API origin used by `$api` (legacy-style direct calls). +# Production/internal: https://api.wolfstar.rocks (default when unset) +# Local bot instance: http://localhost:8282 NUXT_PUBLIC_API_BASE_URL=http://localhost:8282 +# Optional: sapphire-plugin-api cookie name for SSR auth cookie injection. +# Defaults to SAPPHIRE_AUTH. Encryption uses NUXT_OAUTH_DISCORD_CLIENT_SECRET. +# NUXT_BOT_API_AUTH_COOKIE=SAPPHIRE_AUTH + # Site URL (e.g., https://wolfstar.rocks) NUXT_PUBLIC_SITE_URL= # =================================== diff --git a/app/components/command/SubCategory.vue b/app/components/command/SubCategory.vue index 8cd204282..99de09ece 100644 --- a/app/components/command/SubCategory.vue +++ b/app/components/command/SubCategory.vue @@ -1,51 +1,20 @@