Add trailing slash warning
This commit is contained in:
parent
91e1cd9fe9
commit
cee736061b
|
|
@ -167,6 +167,12 @@ class _HealthCheckDialogState extends State<HealthCheckDialog> {
|
|||
isWarning: true,
|
||||
url:
|
||||
'https://invoiceninja.github.io/docs/self-host-troubleshooting/#pdf-conversion-issues',
|
||||
),
|
||||
if (_response.trailingSlash)
|
||||
_HealthListTile(
|
||||
title: 'APP_URL has trailing slash',
|
||||
subtitle: 'Remove the slash in the .env file',
|
||||
isWarning: true,
|
||||
)
|
||||
],
|
||||
),
|
||||
|
|
|
|||
|
|
@ -1263,16 +1263,16 @@ void _showAbout(BuildContext context) async {
|
|||
Row(
|
||||
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
|
||||
children: [
|
||||
IconButton(
|
||||
tooltip: 'Facebook',
|
||||
onPressed: () => launch(kFacebookUrl),
|
||||
icon: Icon(MdiIcons.facebook),
|
||||
),
|
||||
IconButton(
|
||||
tooltip: 'Twitter',
|
||||
onPressed: () => launch(kTwitterUrl),
|
||||
icon: Icon(MdiIcons.twitter),
|
||||
),
|
||||
IconButton(
|
||||
tooltip: 'Facebook',
|
||||
onPressed: () => launch(kFacebookUrl),
|
||||
icon: Icon(MdiIcons.facebook),
|
||||
),
|
||||
IconButton(
|
||||
tooltip: 'GitHub',
|
||||
onPressed: () => launch(kGitHubUrl),
|
||||
|
|
|
|||
Loading…
Reference in New Issue