Revize e97fc3e6
Přidáno uživatelem Lukáš Vlček před asi 2 roky(ů)
webapp/pages/_app.tsx | ||
---|---|---|
8 | 8 |
import { SecuredComponent } from '../components/types/Auth'; |
9 | 9 |
import LoggedUserProvider from '../contexts/LoggedUserContext'; |
10 | 10 |
import Auth from '../components/common/Auth'; |
11 |
import { getBasePath } from '../constants'; |
|
11 | 12 |
|
12 | 13 |
function MyApp({ |
13 | 14 |
Component, |
... | ... | |
19 | 20 |
return ( |
20 | 21 |
<LoggedUserProvider> |
21 | 22 |
<Head> |
22 |
<link rel="shortcut icon" href={'favicon.ico'} />
|
|
23 |
<link rel="shortcut icon" href={getBasePath() + '/favicon.ico'} />
|
|
23 | 24 |
<title>Annotation Tool (AV ČR)</title> |
24 |
<script src="__ENV.js" defer />
|
|
25 |
<script src={getBasePath() + '/__ENV.js'} defer />
|
|
25 | 26 |
</Head> |
26 | 27 |
|
27 | 28 |
{Component.auth ? ( |
Také k dispozici: Unified diff
Bug fixes