typesense / firestore-typesense-search

Firebase Extension to automatically push Firestore documents to Typesense for full-text search with typo tolerance, faceting, and more
https://extensions.dev/extensions/typesense/firestore-typesense-search
Apache License 2.0
150 stars 27 forks source link

Port selection #59

Closed njoshi22 closed 9 months ago

njoshi22 commented 9 months ago

Description

I've installed Typesense on my own server on port 8108. Specifying "IPADDRESS:8108" as the hostname does not cause the extension to look at port 8108 - it defaults to 443.

Looking at the source code, I see it reading from process.env.TYPESENSE_PORT but not really sure how to set that in an extension environment, short of recreating the functions myself. Thoughts?