Commit graph

49 commits

Author SHA1 Message Date
sirpiglr
d49bc85393 Add handling for trailing slash in activity URL path
Add a rewrite rule to `vercel.json` to handle requests to `/activity/` by serving `index.html`, addressing a 404 error caused by Discord's proxy adding a trailing slash to URLs with paths.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 9203795e-937a-4306-b81d-b4d5c78c240e
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: 9dcb4076-db34-480c-afff-e026dc69817c
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7c94b7a0-29c7-4f2e-94ef-44b2153872b7/9203795e-937a-4306-b81d-b4d5c78c240e/qPXTzuE
Replit-Helium-Checkpoint-Created: true
2025-12-08 17:21:05 +00:00
sirpiglr
7c10b3cd8d Fix Discord activity page not loading by adjusting Vercel routing
Add a host-based rewrite in vercel.json to handle requests originating from Discord's proxy, ensuring the Activity page loads correctly.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 9203795e-937a-4306-b81d-b4d5c78c240e
Replit-Commit-Checkpoint-Type: intermediate_checkpoint
Replit-Commit-Event-Id: 6ccd8b82-c530-443f-95c3-e82995a96239
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7c94b7a0-29c7-4f2e-94ef-44b2153872b7/9203795e-937a-4306-b81d-b4d5c78c240e/qPXTzuE
Replit-Helium-Checkpoint-Created: true
2025-12-08 04:43:21 +00:00
sirpiglr
c1d8bdd236 Simplify security headers for embedded content
Simplify vercel.json headers configuration by removing X-Frame-Options and relying on Content-Security-Policy's frame-ancestors for cross-origin embedding control, specifically allowing *.discordsays.com for Discord Activities.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 9203795e-937a-4306-b81d-b4d5c78c240e
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: 3fc358d4-2e85-4434-9918-6869f92324ff
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7c94b7a0-29c7-4f2e-94ef-44b2153872b7/9203795e-937a-4306-b81d-b4d5c78c240e/qPXTzuE
Replit-Helium-Checkpoint-Created: true
2025-12-08 01:36:10 +00:00
sirpiglr
c8a812d9ca Update security settings to allow embedding in Discord
Modify vercel.json to adjust X-Frame-Options and Content-Security-Policy headers, specifically allowing activity embeds in Discord while maintaining security for other routes.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 9203795e-937a-4306-b81d-b4d5c78c240e
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: 6ab6c801-e467-479e-99c4-239cb17db3d0
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7c94b7a0-29c7-4f2e-94ef-44b2153872b7/9203795e-937a-4306-b81d-b4d5c78c240e/qPXTzuE
Replit-Helium-Checkpoint-Created: true
2025-12-08 01:34:25 +00:00
sirpiglr
f1dc12565a Allow embedding of application activity within iframes
Add explicit X-Frame-Options: ALLOWALL header for the /activity route in vercel.json.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 9203795e-937a-4306-b81d-b4d5c78c240e
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: 33fd5360-4898-4766-9f76-bb81abbaf519
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7c94b7a0-29c7-4f2e-94ef-44b2153872b7/9203795e-937a-4306-b81d-b4d5c78c240e/qPXTzuE
Replit-Helium-Checkpoint-Created: true
2025-12-08 01:24:50 +00:00
sirpiglr
19f0808271 Update URL matching for activity route to include subpaths
Adjust the source pattern in vercel.json for the /activity route to capture any subpaths, ensuring correct header application for Discord Activities.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 9203795e-937a-4306-b81d-b4d5c78c240e
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: 8471355a-baee-434c-9953-ec500dea5932
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7c94b7a0-29c7-4f2e-94ef-44b2153872b7/9203795e-937a-4306-b81d-b4d5c78c240e/qPXTzuE
Replit-Helium-Checkpoint-Created: true
2025-12-08 01:12:04 +00:00
sirpiglr
299ec7e17b Allow Discord to embed the application activity within its interface
Update vercel.json to configure security headers for the activity route, enabling iframe embedding by allowing specific domains and removing restrictive X-Frame-Options.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 9203795e-937a-4306-b81d-b4d5c78c240e
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: 6d10562b-5778-4a88-a683-e30823cb4ed5
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7c94b7a0-29c7-4f2e-94ef-44b2153872b7/9203795e-937a-4306-b81d-b4d5c78c240e/qPXTzuE
Replit-Helium-Checkpoint-Created: true
2025-12-08 01:03:11 +00:00
sirpiglr
4077fac4c9 Move the feed page to the community section and add redirects
Update client-side routing and vercel.json to redirect the /feed endpoint to /community/feed, and integrate the Feed component into the Community page.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 9203795e-937a-4306-b81d-b4d5c78c240e
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: a87bc4c4-2f36-45ef-9537-d97890015ee4
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7c94b7a0-29c7-4f2e-94ef-44b2153872b7/9203795e-937a-4306-b81d-b4d5c78c240e/duiWnI1
Replit-Helium-Checkpoint-Created: true
2025-12-03 03:11:57 +00:00
sirpiglr
8683cbaeab Restore wildcard subdomain routing and same-origin API calls
Restores vercel.json wildcard rewrites for *.aethex.me and *.aethex.space, and reverts getApiBase to use window.location.origin for API calls.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 9203795e-937a-4306-b81d-b4d5c78c240e
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: 49c50d1d-f752-4057-82cb-437fdacfe20b
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7c94b7a0-29c7-4f2e-94ef-44b2153872b7/9203795e-937a-4306-b81d-b4d5c78c240e/saoW2ee
Replit-Helium-Checkpoint-Created: true
2025-12-03 00:45:49 +00:00
sirpiglr
f7223d5283 Remove wildcard subdomain routing for external passport app
Remove rewrites for *.aethex.me and *.aethex.space from vercel.json as they are handled by a separate passport application.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 9203795e-937a-4306-b81d-b4d5c78c240e
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: 4154a801-6e77-4141-a729-3318fc9ced99
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7c94b7a0-29c7-4f2e-94ef-44b2153872b7/9203795e-937a-4306-b81d-b4d5c78c240e/saoW2ee
Replit-Helium-Checkpoint-Created: true
2025-12-02 23:51:12 +00:00
sirpiglr
d12dc834d9 Add missing website routes for improved navigation and user experience
Update vercel.json to include rewrites for /community, /developers, /discord-verify, /ethos, and a catch-all route for enhanced routing.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 9203795e-937a-4306-b81d-b4d5c78c240e
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: 53e347e8-4f5d-44fc-b35d-97da4a9f4fb7
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7c94b7a0-29c7-4f2e-94ef-44b2153872b7/9203795e-937a-4306-b81d-b4d5c78c240e/saoW2ee
Replit-Helium-Checkpoint-Created: true
2025-12-02 23:38:59 +00:00
Builder.io
bdd584e96a Fix vercel.json rewrites to exclude API routes
cgen-216865069b9a4300bf74ef7162a98b48
2025-11-16 07:11:37 +00:00
Builder.io
9314088c62 Add functions config to exclude utility files
cgen-3fc27abe6cc7454eafe3814de24a4216
2025-11-16 04:52:10 +00:00
Builder.io
96e4174ac4 Add buildCommand back to vercel.json
cgen-a7f7ddee05de47118fbe464ecfebe808
2025-11-16 04:34:12 +00:00
Builder.io
db81cda595 Remove custom build command, let Vercel use defaults
cgen-1f76011dab174119a7520c34f002c222
2025-11-16 04:33:55 +00:00
Builder.io
d9930643f6 Prettier format pending files 2025-11-16 04:14:57 +00:00
Builder.io
235eb48b1b Update domain redirects and add base domain rewrites for subdomains
cgen-5ca7daeacf114a88a0dcf85a8d15249d
2025-11-16 04:12:29 +00:00
Builder.io
8016120685 Add subdomain routing for user.aethex.me and group.aethex.space
cgen-e7d85d6767434965a7690817b7bc8f4e
2025-11-16 04:12:19 +00:00
Builder.io
9f8cc8f0f7 completionId: cgen-5f72dee194f749c4888214556eb79f41
cgen-5f72dee194f749c4888214556eb79f41
2025-11-16 02:22:02 +00:00
Builder.io
3d80885477 completionId: cgen-3c902de34e67492796655d599a4102f8
cgen-3c902de34e67492796655d599a4102f8
2025-11-16 02:19:29 +00:00
Builder.io
d545424e9f completionId: cgen-9321fcf794e04aecb0fe3d21508906c0
cgen-9321fcf794e04aecb0fe3d21508906c0
2025-11-16 02:07:33 +00:00
Builder.io
8eb1dcc0ad completionId: cgen-c7249faf0b78480295945b15e3fa013e
cgen-c7249faf0b78480295945b15e3fa013e
2025-11-16 01:50:04 +00:00
Builder.io
f0e8f0f115 completionId: cgen-e5d89c23b97a409486e3e46f3842286c
cgen-e5d89c23b97a409486e3e46f3842286c
2025-11-16 01:49:33 +00:00
Builder.io
08a4994f4d completionId: cgen-7c84bf3c46ea45a988f4cc2bdd4fdfd2
cgen-7c84bf3c46ea45a988f4cc2bdd4fdfd2
2025-11-16 01:48:37 +00:00
Builder.io
a3ccb10fbb Remove catch-all rewrite, add explicit SPA routes
cgen-22628cc776af435ba35f86e6b916a7e2
2025-11-16 01:26:37 +00:00
Builder.io
7f27160e6d Use explicit SPA routes with final catch-all for Vercel
cgen-0022346a0cb34bb7a408aa645d27457d
2025-11-16 01:26:20 +00:00
Builder.io
a0142135c7 Use Vercel's cleanUrls for SPA routing instead of manual rewrites
cgen-b2b017d284b546c89750dbb6bd5e0549
2025-11-16 01:26:16 +00:00
Builder.io
e3628c396a Use explicit SPA route patterns instead of regex
cgen-8b97b7793114463aabfca2a57875511d
2025-11-16 01:26:07 +00:00
Builder.io
70df2121d4 Revert functions config
cgen-c2d66f04534645a8bb59534d525e363d
2025-11-16 01:25:58 +00:00
Builder.io
42e0d5e30e Add explicit serverless function configuration to vercel.json
cgen-91dba0831b8f4e8ab20850ac5bc6a38e
2025-11-16 01:25:51 +00:00
Builder.io
da296abc1f Fix Vercel rewrite to properly exclude /api routes
cgen-950098149d4a4d608ac35a46661d8bd3
2025-11-16 01:25:45 +00:00
Builder.io
57c84fc80c Fix Vercel rewrite rules to properly route API and SPA requests
cgen-92393578c8994082888fbf0b19757b56
2025-11-16 01:24:59 +00:00
Builder.io
fd99f2756e Fix Vercel routing to exclude API routes from SPA rewrite
cgen-86126cf1871d42acac18809188dbff08
2025-11-16 00:38:12 +00:00
Builder.io
1a680a424f Prettier format pending files 2025-11-15 21:13:01 +00:00
Builder.io
6cb7f3081d completionId: cgen-14f6ec84110b4b10ac6b2163a50a11e6
cgen-14f6ec84110b4b10ac6b2163a50a11e6
2025-11-15 21:02:55 +00:00
Builder.io
983b2585ab completionId: cgen-ec943135973f495ba725130a4f929e54
cgen-ec943135973f495ba725130a4f929e54
2025-11-15 20:42:22 +00:00
Builder.io
70d3fb687c completionId: cgen-e183560f4e7c4cecafe423c5c18255ac
cgen-e183560f4e7c4cecafe423c5c18255ac
2025-11-15 20:42:15 +00:00
Builder.io
11e439616c completionId: cgen-f6dba83251004725a224251d35d03384
cgen-f6dba83251004725a224251d35d03384
2025-11-15 19:24:28 +00:00
Builder.io
6db4218ff6 Allow API routes in vercel.json rewrites
cgen-80844d0e0e4842c6b4539fc30fbe3380
2025-11-15 05:20:43 +00:00
Builder.io
6923de3c14 Fix CSP frame-ancestors to allow Discord iframe
cgen-236d6d8984614ef4ad2f7446fa91ea62
2025-11-09 21:46:50 +00:00
Builder.io
363337bc3e Prettier format pending files 2025-11-08 08:08:43 +00:00
Builder.io
085df71a7a Remove API proxy to fly.dev in vercel.json
cgen-360425e6f18a4a4b8f4f1ebe78e6a02b
2025-11-08 07:57:33 +00:00
Builder.io
06a4160b6b Align Vercel output directory with Vite SPA build
cgen-06cbb8afe27f456fa395e402e6f3a6d3
2025-10-19 01:27:29 +00:00
Builder.io
bcbfb2273b Rewrite SPA routes to index.html on Vercel
cgen-dca12d5c985042979919fbe39261816e
2025-10-19 01:24:26 +00:00
Builder.io
f0fd25e8f9 Prettier format pending files 2025-10-19 00:35:19 +00:00
Builder.io
68a31dff84 Add cache and security headers to Vercel config
cgen-145877db21534653a60477bdbda6f88d
2025-10-19 00:34:21 +00:00
Builder.io
3fc408aeff Prettier format pending files 2025-10-19 00:31:55 +00:00
Builder.io
bb4905b256 Add Vercel config with SPA rewrites and API proxy
cgen-1294a9d6167040e08255d6f3b0404738
2025-10-19 00:30:26 +00:00
Builder.io
13c04f8b2e Add Vercel SPA rewrites to serve index.html and use custom 404
cgen-683301d36af143ca9b13b78938070c8e
2025-10-18 01:27:04 +00:00