From 4fd6475644ef4b2ee0afe5b65ad6a4faf52a1e07 Mon Sep 17 00:00:00 2001
From: Vanessa Beck <102266523+stochastic-sisyphus@users.noreply.github.com>
Date: Wed, 20 May 2026 00:02:09 -0500
Subject: [PATCH] fix: restore /public/ console in 2.0.0
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
v1.15.2 shipped a self-contained ~75 KB HTML console at
build/public/index.html, served by the gateway at /public/.
2.0.0 silently dropped it in three places:
1. src/public/index.html — deleted from source
2. src/start-server.ts — /public/ route handlers removed
3. rollup.config.js — rollup-plugin-copy step removed
Linux Docker builds of 2.0.0 therefore produce an image with no
gateway console, regressing the OSS deployment story vs 1.15.2.
Restore by:
- Re-adding src/public/index.html (copied verbatim from v1.15.2)
- Re-adding the three app.get('/public[/logs]'...) handlers in
src/start-server.ts
- Adding `cp -r src/public build/public` to the Dockerfile build
step (avoids reintroducing the rollup-plugin-copy devDep —
smaller change than restoring the rollup plugin)
Verified: rebuilt image, /public/ returns 200 with the 75 KB
console (Content-Type: text/html,
The gateway supports 250+ models across 36 AI providers. Choose your provider and API
+ key below.
+
+
🐍 Python
+
📦 Node.js
+
🌀 cURL
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
2. Create a routing config
+
Gateway configs allow you to route requests to different providers and models. You can load balance, set fallbacks, and configure automatic retries & timeouts. Learn more
+
+
Simple Config
+
Load Balancing
+
Fallbacks
+
Retries & Timeouts
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
3. More Features to Explore
+
Discover advanced capabilities of the Portkey AI Gateway.