rename PUBLIC_URL to NEXT_PUBLIC_PUBLIC_URL
This commit is contained in:
@ -891,9 +891,9 @@ import axiosServer from '../../../src/axiosServer';
|
||||
import { start } from 'repl';
|
||||
export const getServerSideProps = async (context) => {
|
||||
const axios = await axiosServer(context);
|
||||
const baseUrl = common.getBaseUrl();
|
||||
console.log('runtime BaseUrl: ' + baseUrl);
|
||||
console.log('runtime PUBLIC_URL: ' + process.env.PUBLIC_URL);
|
||||
// const baseUrl = common.getBaseUrl();
|
||||
// console.log('runtime BaseUrl: ' + baseUrl);
|
||||
console.log('runtime NEXT_PUBLIC_PUBLIC_URL: ' + process.env.NEXT_PUBLIC_PUBLIC_URL);
|
||||
console.log('Runtime Axios Base URL:', axios.defaults.baseURL);
|
||||
|
||||
const currentDate = new Date();
|
||||
|
Reference in New Issue
Block a user