From 03ee678059b2bf0ae335f5e7345434c0249b3523 Mon Sep 17 00:00:00 2001 From: "D. Scott Boggs" Date: Thu, 8 May 2025 11:35:13 -0400 Subject: [PATCH] $NEXT_PUBLIC_API_URL must be set at build time --- docker-compose.yml | 2 -- frontend/.env.local | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 5997f61..fa29b7f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -46,8 +46,6 @@ services: traefik.http.routers.crabfit-frontend.rule: Host(`a10y.techwork.zone`) || Host(`availability.techwork.zone`) traefik.http.routers.crabfit-frontend.tls: true traefik.http.routers.crabfit-frontend.tls.certresolver: letsencrypt_standalone - environment: - NEXT_PUBLIC_API_URL: https://api.a10y.techwork.zone networks: [ public ] diff --git a/frontend/.env.local b/frontend/.env.local index ee43468..29619ab 100644 --- a/frontend/.env.local +++ b/frontend/.env.local @@ -1,4 +1,4 @@ -NEXT_PUBLIC_API_URL="http://127.0.0.1:3000" +NEXT_PUBLIC_API_URL="https://api.a10y.techwork.zone" # Google auth for calendar syncing, feature will be disabled if these aren't set # NEXT_PUBLIC_GOOGLE_CLIENT_ID=""