From 857bb8ac9e88bc3dca7567e6e7492aa37fd39d6f Mon Sep 17 00:00:00 2001 From: Dries Augustyns Date: Tue, 30 Dec 2025 13:28:04 +0100 Subject: [PATCH] chore: Default variables on Plunk Hosted --- Dockerfile | 8 ++++---- docker/generate-url-manifest.sh | 8 ++++---- docker/replace-urls-optimized.sh | 8 ++++---- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/Dockerfile b/Dockerfile index 19b637d..ff4a97a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -95,10 +95,10 @@ ARG TARGETPLATFORM # Build-time arguments for URL configuration # These are only used during the build process (for wiki OpenAPI generation and static assets) # Runtime URLs are configured via *_DOMAIN and USE_HTTPS environment variables at container startup -ARG API_URI=https://api.useplunk.com -ARG DASHBOARD_URI=https://app.useplunk.com -ARG LANDING_URI=https://www.useplunk.com -ARG WIKI_URI=https://docs.useplunk.com +ARG API_URI=https://next-api.useplunk.com +ARG DASHBOARD_URI=https://next-app.useplunk.com +ARG LANDING_URI=https://next.useplunk.com +ARG WIKI_URI=https://next-wiki.useplunk.com WORKDIR /app diff --git a/docker/generate-url-manifest.sh b/docker/generate-url-manifest.sh index 942d553..1d65d7f 100644 --- a/docker/generate-url-manifest.sh +++ b/docker/generate-url-manifest.sh @@ -17,10 +17,10 @@ fi echo "🔍 Generating URL manifest for $APP_NAME..." # Define placeholder URLs that will be replaced at runtime -PLACEHOLDER_API="https://api.useplunk.com" -PLACEHOLDER_DASHBOARD="https://app.useplunk.com" -PLACEHOLDER_LANDING="https://www.useplunk.com" -PLACEHOLDER_WIKI="https://docs.useplunk.com" +PLACEHOLDER_API="https://next-api.useplunk.com" +PLACEHOLDER_DASHBOARD="https://next-app.useplunk.com" +PLACEHOLDER_LANDING="https://next.useplunk.com" +PLACEHOLDER_WIKI="https://next-wiki.useplunk.com" # Output manifest file MANIFEST_FILE="$APP_DIR/.next/url-manifest.txt" diff --git a/docker/replace-urls-optimized.sh b/docker/replace-urls-optimized.sh index 5bef0f7..e5199ac 100644 --- a/docker/replace-urls-optimized.sh +++ b/docker/replace-urls-optimized.sh @@ -11,10 +11,10 @@ replace_urls_in_app() { echo "📝 Replacing URLs in $app build files..." # Define placeholder URLs (built into the app at compile time) - local PLACEHOLDER_API="https://api.useplunk.com" - local PLACEHOLDER_DASHBOARD="https://app.useplunk.com" - local PLACEHOLDER_LANDING="https://www.useplunk.com" - local PLACEHOLDER_WIKI="https://docs.useplunk.com" + local PLACEHOLDER_API="https://next-api.useplunk.com" + local PLACEHOLDER_DASHBOARD="https://next-app.useplunk.com" + local PLACEHOLDER_LANDING="https://next.useplunk.com" + local PLACEHOLDER_WIKI="https://next-wiki.useplunk.com" # Use pre-generated manifest instead of scanning all files local manifest_file="$app_dir/.next/url-manifest.txt"