commit
06ab64db19
|
@ -24,6 +24,7 @@
|
|||
"@researchgate/react-intersection-observer": "^0.7.3",
|
||||
"classnames": "^2.2.5",
|
||||
"color-convert": "^1.9.2",
|
||||
"core-js": "^3.2.1",
|
||||
"focus-trap-react": "^3.1.2",
|
||||
"fuse.js": "^3.4.2",
|
||||
"i18next": "^14.1.1",
|
||||
|
@ -58,6 +59,7 @@
|
|||
"redux-batched-actions": "^0.4.1",
|
||||
"redux-form": "^8.2.0",
|
||||
"redux-thunk": "^2.3.0",
|
||||
"regenerator-runtime": "^0.13.3",
|
||||
"reselect": "^4.0.0",
|
||||
"screenfull": "^3.3.2",
|
||||
"whatwg-fetch": "^3.0.0"
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
import '@babel/polyfill'
|
||||
import 'core-js/stable'
|
||||
import React from 'react'
|
||||
import { render } from 'react-dom'
|
||||
import 'regenerator-runtime/runtime'
|
||||
import App from './App'
|
||||
|
||||
let anchor = document.querySelector('#js')
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
import '@babel/polyfill'
|
||||
import 'core-js/stable'
|
||||
import React from 'react'
|
||||
import { render } from 'react-dom'
|
||||
import 'regenerator-runtime/runtime'
|
||||
import App from './App'
|
||||
|
||||
let anchor = document.querySelector('#js')
|
||||
|
|
|
@ -56,7 +56,7 @@ async function getOptions(input: string) {
|
|||
} else {
|
||||
/* Full text search */
|
||||
const response = await fetch(
|
||||
`https://sirene.entreprise.api.gouv.fr/v1/full_text/${input}`
|
||||
`https://entreprise.data.gouv.fr/api/sirene/v1/full_text/${input}`
|
||||
)
|
||||
if (!response.ok) {
|
||||
return
|
||||
|
|
Loading…
Reference in New Issue