Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/efdevcon/monorepo
Browse files Browse the repository at this point in the history
  • Loading branch information
lassejaco committed Apr 3, 2024
2 parents 2cb164f + e8cbcb3 commit 0d6a7ba
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion devcon-app/src/services/programming.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import Fuse from 'fuse.js'
require('dotenv').config()

const cache = new Map()
const baseUrl = 'https://api-devcon.onrender.com/' // 'https://speak.devcon.org/api'
const baseUrl = 'https://speak.devcon.org/api' // 'https://speak.devcon.org/api'
const eventName = 'devcon-6' // 'devcon-vi-2022' // 'devcon-vi-2022' // 'pwa-data'
const defaultLimit = 100
const websiteQuestionId = 29
Expand Down
2 changes: 1 addition & 1 deletion devcon-app/src/utils/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export const LINK_ETHEREUM_FOUNDATION = 'https://ethereum.foundation'
export const COPYRIGHT_NOTICE = '© 2022 — Ethereum Foundation. All Rights Reserved.'
export const STREAMING_URL = 'https://live.devcon.org/'
export const APP_URL = 'https://app.devcon.org/'
export const API_URL = 'https://api-devcon.onrender.com'
export const API_URL = 'https://api.devcon.org/'

export const BASE_CONTENT_FOLDER = 'src/content'

Expand Down
2 changes: 1 addition & 1 deletion devcon-archive/src/hooks/useArchiveSearch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const fetcher = async (url: string) => {
export const useArchiveSearch = (qs: string, params?: SearchParams): FetchedResult<PagedResult<ArchiveVideo>> => {
const defaultData = { total: 0, currentPage: 0, items: [] }
const [data, setData] = useState<PagedResult<ArchiveVideo>>(defaultData)
let uri = `https://api-devcon.onrender.com/sessions${qs}`
let uri = `https://api.devcon.org/sessions${qs}`
if (!qs) uri += '?'
if (params?.q) uri += `&q=${params.q}`
if (params?.from) uri += `&from=${params.from}`
Expand Down
4 changes: 2 additions & 2 deletions devcon/src/services/dips.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import { Contributor, DIP } from 'types/DIP'

const fetchContributors = () => {
return fetch('https://api-devcon.onrender.com/dips/contributors')
return fetch('https://api.devcon.org/dips/contributors')
.then(resp => resp.json())
.then(dips => dips.data)
}

const fetchDips = () => {
return fetch('https://api-devcon.onrender.com/dips')
return fetch('https://api.devcon.org/dips')
.then(resp => resp.json())
.then(dips => dips.data)
}
Expand Down

0 comments on commit 0d6a7ba

Please sign in to comment.