Change default NIP-95 endpoint back to nostr.build for proxy usage
This commit is contained in:
parent
0533122919
commit
35d4a94bb4
@ -41,14 +41,14 @@ export const DEFAULT_RELAYS: RelayConfig[] = [
|
||||
export const DEFAULT_NIP95_APIS: Nip95Config[] = [
|
||||
{
|
||||
id: 'default',
|
||||
url: 'https://picstr.build/api/v1/upload',
|
||||
url: 'https://nostr.build/api/v2/upload',
|
||||
enabled: true,
|
||||
priority: 1,
|
||||
createdAt: Date.now(),
|
||||
},
|
||||
{
|
||||
id: 'nostrbuild',
|
||||
url: 'https://nostr.build/api/v2/upload',
|
||||
id: 'picstr',
|
||||
url: 'https://picstr.build/api/v1/upload',
|
||||
enabled: false,
|
||||
priority: 2,
|
||||
createdAt: Date.now(),
|
||||
|
||||
@ -23,7 +23,7 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse)
|
||||
}
|
||||
|
||||
// Get target endpoint from query or use default
|
||||
const targetEndpoint = (req.query.endpoint as string) || 'https://picstr.build/api/v1/upload'
|
||||
const targetEndpoint = (req.query.endpoint as string) || 'https://nostr.build/api/v2/upload'
|
||||
|
||||
try {
|
||||
// Parse multipart form data
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user