title: React app served by express server not importing resoruces
body: <p>I am trying to serve a react app that i built and my js and css are not imported. I get a 404 code. Here is the routing code and the file system that I am using. Can someone help me. I don't know where am I messing up.
  I am trying to serve the index.html inside the public folder.</p>
  <p><strong>Code:</strong></p>
  <pre><code>app.use( express.static( path.join( __dirname, `../pubilc` ) ) );
  app.use( express.json( { limit: '1mb' } ) );
  app.use( express.urlencoded( { limit: '30mb', extended: true } ) );
  app.use( '/usr', userRouter );
  app.use( '/planifications', planificationRouter );
  
  
  app.get( '/', ( _req: Request, res: Response ) =&gt; {
      res.sendFile( path.join( __dirname, '../public', 'index.html' ) );
  } );
  </code></pre>
  <p><strong>FileSystem:</strong>
  <a href="https://i.stack.imgur.com/hac3s.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/hac3s.png" alt="enter image description here" /></a></p>