search added
This commit is contained in:
@@ -21,9 +21,9 @@ type Config struct {
|
||||
// PostgreSQL (users, relations, URL shortener)
|
||||
PostgresURI string
|
||||
|
||||
// Meilisearch
|
||||
MeilisearchHost string
|
||||
MeilisearchAPIKey string
|
||||
// Typesense
|
||||
TypesenseURL string
|
||||
TypesenseAPIKey string
|
||||
|
||||
// DragonflyDB / Redis
|
||||
RedisURI string
|
||||
@@ -64,8 +64,8 @@ func Load() (*Config, error) {
|
||||
|
||||
PostgresURI: getEnv("POSTGRES_URI", ""),
|
||||
|
||||
MeilisearchHost: getEnv("MEILISEARCH_HOST", "http://localhost:7700"),
|
||||
MeilisearchAPIKey: getEnv("MEILISEARCH_API_KEY", ""),
|
||||
TypesenseURL: getEnv("TYPESENSE_URL", "https://search.prabhupadasays.org"),
|
||||
TypesenseAPIKey: getEnv("TYPESENSE_API_KEY", ""),
|
||||
|
||||
RedisURI: getEnv("REDIS_URI", "redis://localhost:6379"),
|
||||
|
||||
|
||||
Reference in New Issue
Block a user