Finding it to use the built-in SECRETS tab on replit

Tell us what’s happening:
Describe your issue in detail here.
I can’t seem to find a way to use the built-in SECRETS tab on replit to. I can’t find it anywhere. Could someone help?

Your code so far
var express = require(‘express’);
var app = express();

app.use(’/public’, express.static(__dirname + “/public”));

app.get("/", (req, res) => {
res.sendFile(__dirname + ‘/views/index.html’);

app.get("/json", (req, res) => {
if(process.env.MESSAGE_STYLE===uppercase) {
{‘message’: ‘HELLO JSON’};
{‘message’: ‘Hello json’}

module.exports = app;

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.110 Safari/537.36

Challenge: Use the .env File

Link to the challenge:

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.