Cannot GET when providing url parameters [duplicate]

I’ve created simple React application which uses React-Router-Dom. It’s basically a single-page application, however, I’m using routing in order to change value of variables in some rare cases and change the interface slightly for presentation purposes.

Here is the code I use, which allows the user to enter custom values ​​in the url. It works in local environment like it should.

<Router>
  <Routes>
    <Route path="/" element={<App />} />
    <Route path="/:exampleone/:exampletwo/:examplethree" element={<App />} />
  </Routes>
</Router>

Url examples:

http://localhost:3000/

http://localhost:3000/65/45/35

However, when I’m deploying the application (which runs in Azure, AzureWebsites.net) normal version works perfectly, but if I try to add url parameters error popups “Cannot GET (url parameters)”.

Does anyone have an idea how to fix this? Please ask if something else from the code is needed, I’m not sure what else I should provide here.