refactoring: server actions => tmdb proxy

This commit is contained in:
ner committed 2024-10-28 20:08:41 +02:00
1 parent 97d55b24a1
commit ece48e90c6
4 files changed
+14 -16

No files matched your search

+7
View File
@@ -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;
-7
View File
@@ -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;