rename PUBLIC_URL to NEXT_PUBLIC_PUBLIC_URL

This commit is contained in:
Dobromir Popov
2024-04-02 02:04:45 +03:00
parent 31ad2bf997
commit 8117a74a09
15 changed files with 21 additions and 21 deletions

View File

@ -32,7 +32,7 @@ export const getServerSideProps = async (context) => {
// };
// }
// const { data: loc } = await axiosInstance.get(
// `${process.env.PUBLIC_URL}api/data/locations/` + context.params.id
// `${process.env.NEXT_PUBLIC_PUBLIC_URL}api/data/locations/` + context.params.id
// );
// console.log(location) //this is the location object