diff --git a/frontend/src/components/app.tsx b/frontend/src/components/app.tsx index e21f999..4cac806 100644 --- a/frontend/src/components/app.tsx +++ b/frontend/src/components/app.tsx @@ -18,8 +18,8 @@ import Drawer from "../containers/Drawer"; import { BACKEND_URL } from "../config"; import { ILevel } from "../models/level"; -import { ILearner, TopTen } from "../models/learner"; -import { IVocab, VocabType } from "../models/vocab"; +import { TopTen } from "../models/learner"; +import { IVocab } from "../models/vocab"; import { IReviewMetadata, ReviewType } from "../models/review"; import { IUser } from "../models/user"; import { IResponse } from "../models/server"; diff --git a/frontend/src/config.ts b/frontend/src/config.ts index 183f344..47352da 100644 --- a/frontend/src/config.ts +++ b/frontend/src/config.ts @@ -1,4 +1,4 @@ // Maximum distance from the answer to be still considered correct export const LEVENSHTEIN_MAX_DISTANCE = 2; -export const BACKEND_URL = "http://127.0.0.1:8080"; +export const BACKEND_URL = "http://127.0.0.1"; diff --git a/frontend/src/index.html b/frontend/src/index.html index cad67b6..e7fa868 100644 --- a/frontend/src/index.html +++ b/frontend/src/index.html @@ -1,20 +1,22 @@ - - Lateinicus - + + Lateinicus - - - - - - - -
- - + + + + + + + + + + +
+ +