mirror of
https://github.com/ershisan99/flashcards-example-project.git
synced 2025-12-23 05:09:28 +00:00
add new endpoints, add tag types to base api
This commit is contained in:
@@ -2,6 +2,7 @@ import { createApi, fetchBaseQuery } from '@reduxjs/toolkit/query/react'
|
||||
|
||||
export const baseApi = createApi({
|
||||
reducerPath: 'baseApi',
|
||||
tagTypes: ['Decks'],
|
||||
baseQuery: fetchBaseQuery({
|
||||
baseUrl: 'https://api.flashcards.andrii.es',
|
||||
credentials: 'include',
|
||||
|
||||
Reference in New Issue
Block a user