refactor: Make the frontend web-ready
This commit is contained in:
parent
24f35be058
commit
ded5e4ecfa
@ -18,8 +18,8 @@ import Drawer from "../containers/Drawer";
|
|||||||
import { BACKEND_URL } from "../config";
|
import { BACKEND_URL } from "../config";
|
||||||
|
|
||||||
import { ILevel } from "../models/level";
|
import { ILevel } from "../models/level";
|
||||||
import { ILearner, TopTen } from "../models/learner";
|
import { TopTen } from "../models/learner";
|
||||||
import { IVocab, VocabType } from "../models/vocab";
|
import { IVocab } from "../models/vocab";
|
||||||
import { IReviewMetadata, ReviewType } from "../models/review";
|
import { IReviewMetadata, ReviewType } from "../models/review";
|
||||||
import { IUser } from "../models/user";
|
import { IUser } from "../models/user";
|
||||||
import { IResponse } from "../models/server";
|
import { IResponse } from "../models/server";
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
// Maximum distance from the answer to be still considered correct
|
// Maximum distance from the answer to be still considered correct
|
||||||
export const LEVENSHTEIN_MAX_DISTANCE = 2;
|
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";
|
||||||
|
@ -2,6 +2,8 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>Lateinicus</title>
|
<title>Lateinicus</title>
|
||||||
|
|
||||||
|
<meta charset="UTF-8">
|
||||||
<meta
|
<meta
|
||||||
name="viewport"
|
name="viewport"
|
||||||
content="minimum-scale=1, initial-scale=1, width=device-width, shrink-to-fit=no"
|
content="minimum-scale=1, initial-scale=1, width=device-width, shrink-to-fit=no"
|
||||||
|
Reference in New Issue
Block a user