feat: test ISR

This commit is contained in:
Daniel Soares
2021-12-13 17:12:51 -03:00
parent aaaaedb73c
commit 2a1164d1fd
26 changed files with 295 additions and 192 deletions

View File

@@ -3,3 +3,5 @@ import axios from 'axios'
export const api = axios.create({
baseURL: '/api'
})
export const fetcher = (url: string) => api.get(url).then(({ data }) => data)