I am having trouble of reading environment variable from azure app service configuration for my REACT app

Viewed 611

I have added my variable in azure app service configuration and try to read it from my react application the following way, but no luck. Can anyone save the day?enter image description here

import React from 'react';
import './App.css';


function App() {
  console.log(process.env);
  return (
    <div className="App">
      <header className="App-header">
        <h1>{process.env.REACT_APP_TITLE}</h1>
      </header>
    </div>
  );
}

export default App;
1 Answers
Related