chore: Default variables on Plunk Hosted

This commit is contained in:
Dries Augustyns
2025-12-30 13:28:04 +01:00
parent 782dc5754d
commit 857bb8ac9e
3 changed files with 12 additions and 12 deletions
+4 -4
View File
@@ -95,10 +95,10 @@ ARG TARGETPLATFORM
# Build-time arguments for URL configuration # Build-time arguments for URL configuration
# These are only used during the build process (for wiki OpenAPI generation and static assets) # 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 # Runtime URLs are configured via *_DOMAIN and USE_HTTPS environment variables at container startup
ARG API_URI=https://api.useplunk.com ARG API_URI=https://next-api.useplunk.com
ARG DASHBOARD_URI=https://app.useplunk.com ARG DASHBOARD_URI=https://next-app.useplunk.com
ARG LANDING_URI=https://www.useplunk.com ARG LANDING_URI=https://next.useplunk.com
ARG WIKI_URI=https://docs.useplunk.com ARG WIKI_URI=https://next-wiki.useplunk.com
WORKDIR /app WORKDIR /app
+4 -4
View File
@@ -17,10 +17,10 @@ fi
echo "🔍 Generating URL manifest for $APP_NAME..." echo "🔍 Generating URL manifest for $APP_NAME..."
# Define placeholder URLs that will be replaced at runtime # Define placeholder URLs that will be replaced at runtime
PLACEHOLDER_API="https://api.useplunk.com" PLACEHOLDER_API="https://next-api.useplunk.com"
PLACEHOLDER_DASHBOARD="https://app.useplunk.com" PLACEHOLDER_DASHBOARD="https://next-app.useplunk.com"
PLACEHOLDER_LANDING="https://www.useplunk.com" PLACEHOLDER_LANDING="https://next.useplunk.com"
PLACEHOLDER_WIKI="https://docs.useplunk.com" PLACEHOLDER_WIKI="https://next-wiki.useplunk.com"
# Output manifest file # Output manifest file
MANIFEST_FILE="$APP_DIR/.next/url-manifest.txt" MANIFEST_FILE="$APP_DIR/.next/url-manifest.txt"
+4 -4
View File
@@ -11,10 +11,10 @@ replace_urls_in_app() {
echo "📝 Replacing URLs in $app build files..." echo "📝 Replacing URLs in $app build files..."
# Define placeholder URLs (built into the app at compile time) # Define placeholder URLs (built into the app at compile time)
local PLACEHOLDER_API="https://api.useplunk.com" local PLACEHOLDER_API="https://next-api.useplunk.com"
local PLACEHOLDER_DASHBOARD="https://app.useplunk.com" local PLACEHOLDER_DASHBOARD="https://next-app.useplunk.com"
local PLACEHOLDER_LANDING="https://www.useplunk.com" local PLACEHOLDER_LANDING="https://next.useplunk.com"
local PLACEHOLDER_WIKI="https://docs.useplunk.com" local PLACEHOLDER_WIKI="https://next-wiki.useplunk.com"
# Use pre-generated manifest instead of scanning all files # Use pre-generated manifest instead of scanning all files
local manifest_file="$app_dir/.next/url-manifest.txt" local manifest_file="$app_dir/.next/url-manifest.txt"