refactoring: server actions => tmdb proxy
This commit is contained in:
1 parent
97d55b24a1
commit
ece48e90c6
4 files changed
+14
-16
No files matched your search
@@ -0,0 +1,7 @@
|
||||
import { MOVIE_DB_API_URL, MOVIE_DB_TOKEN } from '@/env';
|
||||
|
||||
import Http from './Http';
|
||||
|
||||
const movieDB = new Http(MOVIE_DB_API_URL, `Bearer ${MOVIE_DB_TOKEN}`);
|
||||
|
||||
export default movieDB;
|
||||
@@ -1,7 +0,0 @@
|
||||
import { MOVIE_DB_API_URL, MOVIE_DB_TOKEN } from '@/env';
|
||||
|
||||
import Http from './Http';
|
||||
|
||||
const theMovieDB = new Http(MOVIE_DB_API_URL, `Bearer ${MOVIE_DB_TOKEN}`);
|
||||
|
||||
export default theMovieDB;
|
||||
Reference in new issue
Block a user