diff --git a/scripts/indexr.js b/scripts/indexr.js index 087b149..677a637 100644 --- a/scripts/indexr.js +++ b/scripts/indexr.js @@ -92,7 +92,7 @@ async function indexData() { }); console.log(`Collection ${process.env.TYPESENSE_COLLECTION} created successfully.`); - const response = await request('http://localhost:8001/___graphql', pageQuery); + const response = await request('http://127.0.0.1:8001/___graphql', pageQuery); console.log('response', response); const data = await response; diff --git a/src/pages/tutorials/index.jsx b/src/pages/tutorials/index.jsx index 7fcf375..6746420 100644 --- a/src/pages/tutorials/index.jsx +++ b/src/pages/tutorials/index.jsx @@ -6,7 +6,6 @@ import LeftNav from '../../components/LeftNav'; import 'prismjs/themes/prism-tomorrow.css'; import '../../templates/page.scss'; import SEO from '../../components/seo'; -import SearchInputBox from '../../components/SearchInputBox'; import MobileView from '../../components/MobileView'; import CardList from '../../components/navcards';