From b3a671623a826da7e217b256c6fd7501b8e9ac9d Mon Sep 17 00:00:00 2001 From: tonyrewin Date: Sat, 17 Sep 2022 21:39:16 +0300 Subject: [PATCH] auth-fixes --- src/components/Views/AllTopics.tsx | 2 -- src/graphql/publicGraphQLClient.ts | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/components/Views/AllTopics.tsx b/src/components/Views/AllTopics.tsx index 6ffc94e7..ef55f167 100644 --- a/src/components/Views/AllTopics.tsx +++ b/src/components/Views/AllTopics.tsx @@ -22,8 +22,6 @@ export const AllTopicsPage = (props: { topics?: Topic[] }) => { const params = useStore(paramstore) - console.log({ router }) - createEffect(() => { if (abc().length === 0 && (!params()['by'] || params()['by'] === 'abc')) { console.log('[topics] default grouping by abc') diff --git a/src/graphql/publicGraphQLClient.ts b/src/graphql/publicGraphQLClient.ts index 1015211c..f6e84d32 100644 --- a/src/graphql/publicGraphQLClient.ts +++ b/src/graphql/publicGraphQLClient.ts @@ -4,8 +4,8 @@ import { devtoolsExchange } from '@urql/devtools' // FIXME actual value const isDev = true -//export const baseUrl = 'https://newapi.discours.io' -export const baseUrl = 'http://localhost:8000' +export const baseUrl = 'https://newapi.discours.io' +//export const baseUrl = 'http://localhost:8000' const exchanges: Exchange[] = [dedupExchange, fetchExchange]