fix broken link to hint (#28143)

Closes #28143
This commit is contained in:
Owais Ali
2018-10-26 14:34:23 +05:00
committed by Niraj Nandish
parent b6ad5afb70
commit 9f46e39960
6 changed files with 0 additions and 0 deletions

View File

@@ -1,24 +0,0 @@
---
title: Use the .env File
localeTitle: 使用.env文件
---
## 使用.env文件
我们可以使用.toUpperCase方法使字符串全部大写例如
```javascript
var response = "Hello World".toUpperCase(); // now becomes "HELLO WORLD"
```
我们现在需要做的就是检查环境变量的值是什么,你可以这样做:
```javascript
if (process.env.VAR_NAME === "allCaps") {
resonse = "Hello World".toUpperCase();
} else {
response = "Hello World";
}
});
```
[帮助我们的社区扩展这些提示和指南](https://github.com/freecodecamp/guides/tree/master/src/pages/certifications/apis-and-microservices/basic-node-and-express/use-the-.env-file/index.md) 。