在原帖中,作者包括 PROCESS.ENV.API_KEY 和 PROCESS.ENV.POSTGRES_INSTANCE;
这些环境变量指的是什么???我如何从heroku生成这个?
原始帖子中的相关代码片段:
import NextAuth from "next-auth";
import Providers from "next-auth/providers";
const axios = require("axios");
// Heroku api key and postgres instance
const herokuApiKey = PROCESS.ENV.API_KEY;
const herokuPostgres = PROCESS.ENV.POSTGRES_INSTANCE;