Fix NIP-98 URL mismatch in log viewer (v0.39.1)
Some checks failed
Go / build-and-release (push) Has been cancelled
Some checks failed
Go / build-and-release (push) Has been cancelled
- Include query parameters in signed NIP-98 auth URL - Auth event URL must match actual request URL including ?offset=&limit= Files modified: - app/web/src/LogView.svelte: Fix auth URL to include query params - pkg/version/version: Bump to v0.39.1 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2
app/web/dist/bundle.js
vendored
2
app/web/dist/bundle.js
vendored
File diff suppressed because one or more lines are too long
2
app/web/dist/bundle.js.map
vendored
2
app/web/dist/bundle.js.map
vendored
File diff suppressed because one or more lines are too long
@@ -94,8 +94,9 @@
|
||||
}
|
||||
|
||||
try {
|
||||
const authHeader = await createAuthHeader("GET", "/api/logs");
|
||||
const url = `${window.location.origin}/api/logs?offset=${offset}&limit=${LIMIT}`;
|
||||
const path = `/api/logs?offset=${offset}&limit=${LIMIT}`;
|
||||
const authHeader = await createAuthHeader("GET", path);
|
||||
const url = `${window.location.origin}${path}`;
|
||||
const response = await fetch(url, {
|
||||
headers: authHeader ? { Authorization: `Nostr ${authHeader}` } : {},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user