Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在项目的根目录中创建了 .env 文件,其中包含 MONGOHQ_URL,但在启动工头(工头启动)后,我仍然使用 System.getenv("MONGOHQ_URL") 在 Java 中将 null 作为值。
有什么我做错了吗?文档似乎直截了当。