Skip to content

Commit

Permalink
Fix fetch of parce.xml on client (#49)
Browse files Browse the repository at this point in the history
- fix fetch of parce.xml on client
- update to v3.3.1
  • Loading branch information
malakhovks authored Apr 22, 2021
1 parent b17205f commit 29ed112
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 6 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## v3.3.1, 2021-04-21

### 🔴 Виправлення помилок

- ENG🇬🇧 виправлено шлях для отримання **parce.xml** на клієнтській частині;
- UKR🇺🇦 ENG🇬🇧 дрібні виправлення.

## v3.3.0, 2021-04-21

### ⚠️ Зауваження
Expand Down
3 changes: 2 additions & 1 deletion static/javascripts/recap-en.js
Original file line number Diff line number Diff line change
Expand Up @@ -795,7 +795,8 @@ function fetchFileToRecapService() {
})
// fetch to parce.xml for NER
.then(next => {
return fetch('/ken/api/en/file/parcexml', {
// return fetch('/ken/api/en/file/parcexml', {
return fetch('/ken/api/en/parcexml', {
method: 'post',
body: form
})
Expand Down
9 changes: 8 additions & 1 deletion templates/changelog.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,14 @@
<head>
<meta charset='UTF-8'><meta name='viewport' content='width=device-width initial-scale=1'>
<title>CHANGELOG</title></head>
<body><h2>v3.3.0, 2021-04-21</h2>
<body><h2>v3.3.1, 2021-04-21</h2>
<h3>🔴 Виправлення помилок</h3>
<ul>
<li>ENG🇬🇧 виправлено шлях для отримання <strong>parce.xml</strong> на клієнтській частині;</li>
<li>UKR🇺🇦 ENG🇬🇧 дрібні виправлення.</li>

</ul>
<h2>v3.3.0, 2021-04-21</h2>
<h3>⚠️ Зауваження</h3>
<ul>
<li>ENG🇬🇧 Змінено URL кінцевої точки API для отримання XML-структуру <strong>parce.xml</strong>:
Expand Down
2 changes: 1 addition & 1 deletion templates/en.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html>

<head>
<title>Konspekt - v3.3.0</title>
<title>Konspekt - v3.3.1</title>
<meta charset="UTF-8">
<link rel="shortcut icon" type="image/png" href="./static/images/favicon.png" />
<link rel="stylesheet" type="text/css" href="./static/bootstrap/css/flatly.bootstrap.css" media="screen" />
Expand Down
4 changes: 2 additions & 2 deletions templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html>

<head>
<title>Konspekt - v3.3.0</title>
<title>Konspekt - v3.3.1</title>
<meta charset="UTF-8">
<link rel="shortcut icon" type="image/png" href="./static/images/favicon.png" />
<link rel="stylesheet" type="text/css" href="./static/bootstrap/css/flatly.bootstrap.css" media="screen" />
Expand All @@ -15,7 +15,7 @@
<canvas id="canvas-interactive"></canvas>
<div class="cta-wrapper">
<h1 style="color: black;">КОНСПЕКТ</h1>
<h5>v3.3.0</h5>
<h5>v3.3.1</h5>
<h2 style="color: black; width: 800px;">Контекстно-семантичний аналіз природно-мовних текстів та побудова таксономії документів</h2>
<a href="/ua" id="violet-state-cta" class="hvr-grow-shadow">Українська</a>
<a href="/en" id="orange-state-cta" class="hvr-grow-shadow">English</a>
Expand Down
2 changes: 1 addition & 1 deletion templates/ua.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html>

<head>
<title>Конспект - v3.3.0</title>
<title>Конспект - v3.3.1</title>
<meta charset="UTF-8">
<link rel="shortcut icon" type="image/png" href="./static/images/favicon.png" />
<link rel="stylesheet" type="text/css" href="./static/bootstrap/css/flatly.bootstrap.css" media="screen" />
Expand Down

0 comments on commit 29ed112

Please sign in to comment.