Skip to content
This repository was archived by the owner on Feb 18, 2026. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/common/components/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ function App({ initialized }) {
<AppRouter />
</main>
<LockOverlay />
<Footer />
{/* <Footer /> */}
</div>
);
}
Expand Down
4 changes: 2 additions & 2 deletions src/common/components/layouts/footer/Footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ function buildServiceInfo(service) {
function buildAppsInfo(service) {
switch (service.available) {
case true:
let info = service.build.apps.version;
if (service.build.apps.lastUpdated) {
let info = service?.build?.apps?.version;
if (service?.build?.apps?.lastUpdated) {
let buildTime = new Date(service.build.apps.lastUpdated);
info += `, built on ${buildTime.toLocaleString(BUILD_TIME_FORMAT.locale, BUILD_TIME_FORMAT.options)}`;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,8 @@ function PdfDocument(props) {
props.setPdfName(props.file.name || props.fileName);
props.setNumPages(document.numPages);
props.initTree(document.parsedTree);
console.log('parsed', document.parsedTree);
console.log('structure', document._pdfInfo.structureTree);
setStructureTree(document._pdfInfo.structureTree);
const newMapOfErrors = createMapOfErrors(props.ruleSummaries, document._pdfInfo.structureTree);
props.onDocumentReady(newMapOfErrors);
Expand Down
4 changes: 3 additions & 1 deletion src/common/services/fileService.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,14 @@ import { get, upload } from './api';
import { JOB_OLD_FILE } from '../store/constants';
import AppPages from '../components/AppPages';

const { REACT_APP_API_ROOT, PUBLIC_URL } = process.env;
const { PUBLIC_URL } = process.env;

const STATIC_PAGES = ['', AppPages.UPLOAD, AppPages.ABOUT, AppPages.PRIVACY_POLICY, AppPages.NOT_FOUND].map(
pageURL => `${PUBLIC_URL}${pageURL}`
);

const REACT_APP_API_ROOT = '/api';

export const getInfo = () => {
const url = `${REACT_APP_API_ROOT}/status/file-storage/info`;
return get(url);
Expand Down
2 changes: 1 addition & 1 deletion src/common/services/jobService.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { get, post, put } from './api';
const { REACT_APP_API_ROOT } = process.env;
const REACT_APP_API_ROOT = '/api';

export const getInfo = () => {
return get(`${REACT_APP_API_ROOT}/status/job-service/info`);
Expand Down
4 changes: 1 addition & 3 deletions src/common/services/profiles.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import { get } from './api';

const { REACT_APP_API_ROOT } = process.env;

export const getList = () => {
return get(`${REACT_APP_API_ROOT}/profiles`);
return get('/api/profiles');
};
2 changes: 1 addition & 1 deletion src/common/services/workerService.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { get } from './api';

const { REACT_APP_API_ROOT } = process.env;
const REACT_APP_API_ROOT = '/api';

export const getInfo = () => {
const url = `${REACT_APP_API_ROOT}/status/worker/info`;
Expand Down
41 changes: 29 additions & 12 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8496,15 +8496,7 @@ path-type@^4.0.0:
resolved "https://registry.yarnpkg.com/path-type/-/path-type-4.0.0.tgz#84ed01c0a7ba380afe09d90a8c180dcd9d03043b"
integrity sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==

pdfjs-dist@2.16.105:
version "2.16.105"
resolved "https://registry.yarnpkg.com/pdfjs-dist/-/pdfjs-dist-2.16.105.tgz#937b9c4a918f03f3979c88209d84c1ce90122c2a"
integrity sha512-J4dn41spsAwUxCpEoVf6GVoz908IAA3mYiLmNxg8J9kfRXc2jxpbUepcP0ocp0alVNLFthTAM8DZ1RaHh8sU0A==
dependencies:
dommatrix "^1.0.3"
web-streams-polyfill "^3.2.1"

"pdfjs-dist@github:veraPDF/pdfjs-dist#v2.16.105-taggedPdf-0.1.18":
pdfjs-dist@2.16.105, "pdfjs-dist@github:veraPDF/pdfjs-dist#v2.16.105-taggedPdf-0.1.18":
version "2.16.105"
resolved "https://codeload.github.com/veraPDF/pdfjs-dist/tar.gz/7e5be3ffc8d2c521550eeae07e828a3d4d652901"
dependencies:
Expand Down Expand Up @@ -10587,7 +10579,16 @@ string-natural-compare@^3.0.1:
resolved "https://registry.yarnpkg.com/string-natural-compare/-/string-natural-compare-3.0.1.tgz#7a42d58474454963759e8e8b7ae63d71c1e7fdf4"
integrity sha512-n3sPwynL1nwKi3WJ6AIsClwBMa0zTi54fn2oLU6ndfTSIO05xaznjSf15PcBZU6FNWbmN5Q6cxT4V5hGvB4taw==

"string-width-cjs@npm:string-width@^4.2.0", "string-width@^1.0.2 || 2 || 3 || 4", string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3:
"string-width-cjs@npm:string-width@^4.2.0":
version "4.2.3"
resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010"
integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==
dependencies:
emoji-regex "^8.0.0"
is-fullwidth-code-point "^3.0.0"
strip-ansi "^6.0.1"

"string-width@^1.0.2 || 2 || 3 || 4", string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3:
version "4.2.3"
resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010"
integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==
Expand Down Expand Up @@ -10670,7 +10671,14 @@ stringify-object@^3.3.0:
is-obj "^1.0.1"
is-regexp "^1.0.0"

"strip-ansi-cjs@npm:strip-ansi@^6.0.1", strip-ansi@^6.0.0, strip-ansi@^6.0.1:
"strip-ansi-cjs@npm:strip-ansi@^6.0.1":
version "6.0.1"
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9"
integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==
dependencies:
ansi-regex "^5.0.1"

strip-ansi@^6.0.0, strip-ansi@^6.0.1:
version "6.0.1"
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9"
integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==
Expand Down Expand Up @@ -11894,7 +11902,16 @@ workbox-window@6.6.1:
"@types/trusted-types" "^2.0.2"
workbox-core "6.6.1"

"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0", wrap-ansi@^7.0.0:
"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0":
version "7.0.0"
resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43"
integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==
dependencies:
ansi-styles "^4.0.0"
string-width "^4.1.0"
strip-ansi "^6.0.0"

wrap-ansi@^7.0.0:
version "7.0.0"
resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43"
integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==
Expand Down