chore: extract api host to const

This commit is contained in:
2023-01-25 11:49:56 +00:00
parent 446be363f6
commit fe868a601a
4 changed files with 11 additions and 5 deletions

View File

@ -1,5 +1,10 @@
import { RelaySettings } from "Nostr/Connection";
/**
* Add-on api for snort features
*/
export const ApiHost = "https://api.snort.social";
/**
* Websocket re-connect timeout
*/
@ -93,5 +98,4 @@ export const TidalRegex = /tidal\.com\/(?:browse\/)?(\w+)\/([a-z0-9-]+)/i;
/**
* SoundCloud regex
*/
export const SoundCloudRegex = /soundcloud\.com\/(?!live)([a-zA-Z0-9]+)\/([a-zA-Z0-9-]+)/