From 5dd9cb542ca0c93a507362a5ba1c07e9e65b6bb0 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Thu, 29 Jan 2026 07:54:39 +0000 Subject: [PATCH] fix(ci): add _redirects for netlify and clean up interop test - Create `_redirects` file with catch-all rule (`/* /index.html 200`) to fix Netlify "Redirect rules" check failure and support SPA routing. - Remove unused `NOTE_TYPES` import from `scripts/agent/interop-test.mjs`. Co-authored-by: PR0M3TH3AN <53631862+PR0M3TH3AN@users.noreply.github.com> --- _redirects | 1 + scripts/agent/interop-test.mjs | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 _redirects diff --git a/_redirects b/_redirects new file mode 100644 index 00000000..7797f7c6 --- /dev/null +++ b/_redirects @@ -0,0 +1 @@ +/* /index.html 200 diff --git a/scripts/agent/interop-test.mjs b/scripts/agent/interop-test.mjs index b5a6d1bc..9c3f55c4 100644 --- a/scripts/agent/interop-test.mjs +++ b/scripts/agent/interop-test.mjs @@ -9,8 +9,7 @@ import { startRelay } from './load-test-relay.mjs'; import { buildVideoPostEvent, buildViewEvent, - buildLegacyDirectMessageEvent, - NOTE_TYPES + buildLegacyDirectMessageEvent } from '../../js/nostrEventSchemas.js'; import { decryptDM } from '../../js/dmDecryptor.js'; import { generateSecretKey, getPublicKey } from 'nostr-tools';