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 { 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";
|
||||
|
@ -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";
|
||||
|
@ -2,6 +2,8 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>Lateinicus</title>
|
||||
|
||||
<meta charset="UTF-8">
|
||||
<meta
|
||||
name="viewport"
|
||||
content="minimum-scale=1, initial-scale=1, width=device-width, shrink-to-fit=no"
|
||||
|
Reference in New Issue
Block a user