added BASE_URL in nextjs config (#587)

This commit is contained in:
Syed Ali Shahbaz 2021-09-06 01:58:17 -07:00 committed by GitHub
parent 4d3b258bf2
commit 19f5b9d6c6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -58,4 +58,7 @@ module.exports = withTM({
}, },
]; ];
}, },
publicRuntimeConfig: {
BASE_URL: process.env.BASE_URL || "http://localhost:3000",
},
}); });