From d4da94c414b2b56ea4b704abb06794596aa70f69 Mon Sep 17 00:00:00 2001 From: Meghdad <61308304+MeghdadFadaee@users.noreply.github.com> Date: Sun, 21 Jun 2026 04:29:32 +0330 Subject: [PATCH] Redesign CORS tester interface --- src/App.tsx | 386 ++++++++++++------------ src/styles.css | 796 ++++++++++++++++++++++++++----------------------- 2 files changed, 611 insertions(+), 571 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index c7f0f55..7c81359 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -623,44 +623,40 @@ export default function App() { return (
-
+
-

Static browser CORS diagnostics

+

Browser CORS tester

CORS Test Lab

-

- Test real browser CORS behavior from this page origin, classify preflights, inspect readable responses, - and generate reports for API owners. -

-
- Testing origin +
+ Actual origin {getOriginLabel()}
-
+ -
-
-
-
-

Request builder

-

Configure a test

-
-
- - -
+
- ))} -
- -
- -