Commit 13fc7bb7 authored by Kim, Subin's avatar Kim, Subin
Browse files

TMDBUrl 추가

parent 61b30624
import axios from "axios" import axios from "axios"
import baseUrl from '../../utils/baseUrl' import { baseUrl } from '../../utils/baseUrl'
import React, { useState,useEffect } from "react" import React, { useState, useEffect } from "react"
import styles from "./box-office.module.scss" import styles from "./box-office.module.scss"
const BoxOffice = () => { const BoxOffice = () => {
......
...@@ -4,4 +4,6 @@ const baseUrl = process.env.NODE_ENV === 'production' ...@@ -4,4 +4,6 @@ const baseUrl = process.env.NODE_ENV === 'production'
? `http://localhost:3001/${clientConfig.serverRoot}` ? `http://localhost:3001/${clientConfig.serverRoot}`
: `http://localhost:3000` : `http://localhost:3000`
export default baseUrl const TMDBUrl = "https://api.themoviedb.org/3/movie"
\ No newline at end of file
export { baseUrl, TMDBUrl }
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment