Add CORS headers and update UI for enhanced user profile handling.
- Added CORS support in server responses for cross-origin requests (`Access-Control-Allow-Origin`, etc.). - Improved header panel behavior with a sticky position and refined CSS styling. - Integrated profile data fetching (Kind 0 metadata) for user personalization. - Enhanced login functionality to support dynamic profile display based on fetched metadata. - Updated `index.html` to include Tailwind CSS for better design consistency.
This commit is contained in:
@@ -4,8 +4,9 @@
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Nostr Relay</title>
|
||||
<script src="https://cdn.tailwindcss.com"></script>
|
||||
</head>
|
||||
<body>
|
||||
<body class="bg-white">
|
||||
<div id="root"></div>
|
||||
<script type="module" src="index.js"></script>
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user