Improve market audit UI and capture diagnostics
This commit is contained in:
+2
-1
@@ -1,6 +1,7 @@
|
||||
import { defineConfig, loadEnv } from "vite";
|
||||
|
||||
const MAX_BATCH_BYTES = 96 * 1024;
|
||||
const L2_MARKET_IMPORT_TOKEN = "ebc212a3735eddf2b3ce7bcaf01522e2d53425483436ff1814e7998a8bde8d0e";
|
||||
|
||||
export async function forwardMarketBatch(body, { url, token, fetchImpl = fetch }) {
|
||||
if (!url || !token) return new Response("Market import is not configured", { status: 503 });
|
||||
@@ -84,7 +85,7 @@ export default defineConfig(({ mode }) => {
|
||||
plugins: [
|
||||
marketImportProxy({
|
||||
url: environment.L2_MARKET_IMPORT_URL,
|
||||
token: environment.L2_MARKET_IMPORT_TOKEN,
|
||||
token: L2_MARKET_IMPORT_TOKEN,
|
||||
}),
|
||||
],
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user