better english
Massimo Melina committed
Apr 3, 2022 at 20:59 UTC
ed1013a1050a43e46c6fe15542fa9dd59a9c627d
2 files changed
+3
-3
admin/src/HomePage.ts
+2
-2
@@ -37,7 +37,7 @@ export default function HomePage() {
37
!vfs ? spinner()
38
: !vfs.root?.children?.length && !vfs.root?.source
39
? entry('warning', "You have no files shared", SOLUTION_SEP, fsLink("add some"))
40
- : entry('', "Here you manage your server. There is a SEPARATED interface to access your shared files: ",
40
+ : entry('', md("Here you manage your server. There is a _separated_ interface to access your shared files: "),
41
h(Link, { target:'frontend', href: '/' }, "Frontend interface", h(Launch, { sx: { verticalAlign: 'sub', ml: '.2em' } }))),
42
! href && entry('warning', "Frontend unreachable: ",
43
!cfg ? '...'
@@ -47,7 +47,7 @@ export default function HomePage() {
47
!errors.length && h(Fragment, {}, SOLUTION_SEP, cfgLink("switch http or https on"))
48
)
49
),
50
- !account?.adminActualAccess && entry('', "You are accessing on localhost, therefore permission is not required",
50
+ !account?.adminActualAccess && entry('', md("You are accessing on _localhost_ where permission is not required"),
51
SOLUTION_SEP, h(InLink, { to:'accounts' }, "give admin access to an account to be able to access from other computers") ),
52
proxyWarning(cfg, status) && entry('warning', "A proxy was detected but none is configured",
53
SOLUTION_SEP, cfgLink("set the number of proxies"),
server/src/listen.ts
+1
-1
@@ -94,7 +94,7 @@ function startServer(srv: typeof httpSrv, { port, net }: StartServer) {
94
srv.close()
95
return reject('type of socket not supported')
96
}
97
- console.log(srv.name, "serving on", net||"anything", ':', ad.port)
97
+ console.log(srv.name, "serving on", net||"any network", ':', ad.port)
98
resolve(ad.port)
99
}).on('error', async e => {
100
srv.error = String(e)