Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions apps/main/public/.well-known/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
# Well-Known Directory

## Wallet Connect Domain Verification

The [walletconnect.txt](./walletconnect.txt) file contains the token used to verify the domain in the wallet connect dashboard.
This approach only works to validate a single domain at once, however once validated the domain the file is allowed to change.

## Security.txt

The [security.txt](./security.txt) file is used to define security policies and contact information for security researchers.
It follows the [RFC 9116 standard](https://www.rfc-editor.org/rfc/rfc9116).

The expiration date should be updated periodically to ensure the file remains valid.
Check the contact information before updating the date to ensure it is still accurate.
4 changes: 4 additions & 0 deletions apps/main/public/.well-known/security.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Contact: mailto:[email protected]
Expires: 2026-02-28T23:00:00.000Z
Preferred-Languages: en
Canonical: https://www.curve.finance/.well-known/security.txt
5 changes: 5 additions & 0 deletions apps/main/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ export default defineConfig(({ command }) => ({
source: '/favicon',
destination: '/favicon.ico',
},
{
source: '/security.txt',
destination: '/.well-known/security.txt',
statusCode: 308, // Permanent redirect
},
{
source: '/(.*)',
destination: '/index.html',
Expand Down