Skip to content
This repository was archived by the owner on Feb 2, 2023. It is now read-only.

Commit e3ebbda

Browse files
author
vvo
committed
fix(api): use staging api for now
1 parent 8dad71c commit e3ebbda

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/places.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,11 @@ export default function places({
2222
container
2323
}) {
2424
const placesInstance = new EventEmitter();
25-
const client = algoliasearch.initPlaces('6TZ2RYGYRQ', '20b9e128b7e37ff38a4e86b08477980b');
25+
const client = algoliasearch.initPlaces(
26+
'6TZ2RYGYRQ',
27+
'20b9e128b7e37ff38a4e86b08477980b',
28+
{hosts: ['places-de-1.algolia.net']} // use staging for now, FIXME
29+
);
2630

2731
// https://github.com/algolia/autocomplete.js#options
2832
const options = {

0 commit comments

Comments
 (0)