diff --git a/frontend/src/components/app.tsx b/frontend/src/components/app.tsx
index 7369a0b..84c25ec 100644
--- a/frontend/src/components/app.tsx
+++ b/frontend/src/components/app.tsx
@@ -44,7 +44,7 @@ function App() {
() => {
setLoading(true);
- fetch('http://localhost:8080/solve', {
+ fetch(`${process.env.NODE_ENV === 'development' ? '//localhost:8080' : ''}/solve`, {
method: 'POST',
headers: {
'Content-Type': 'application/json',
@@ -75,11 +75,10 @@ function App() {
label="Put your code here:"
helperText={(
<>
- For more info on the syntax, have a look
- here
- .
+ For more info on the syntax, have a
+ look here.
>
-)}
+ )}
multiline
fullWidth
variant="filled"