auth-fixes

This commit is contained in:
tonyrewin 2022-09-17 21:39:16 +03:00
parent 77e06213b0
commit b3a671623a
2 changed files with 2 additions and 4 deletions

View File

@ -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')

View File

@ -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]