search added

This commit is contained in:
Krispire Admin
2026-05-10 20:41:40 +05:30
parent b58c8d00fc
commit 76a144e1ea
8 changed files with 1787 additions and 24 deletions
+5 -5
View File
@@ -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"),