Add trailing slash warning
This commit is contained in:
parent
91e1cd9fe9
commit
cee736061b
|
|
@ -167,6 +167,12 @@ class _HealthCheckDialogState extends State<HealthCheckDialog> {
|
||||||
isWarning: true,
|
isWarning: true,
|
||||||
url:
|
url:
|
||||||
'https://invoiceninja.github.io/docs/self-host-troubleshooting/#pdf-conversion-issues',
|
'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(
|
Row(
|
||||||
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
|
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
|
||||||
children: [
|
children: [
|
||||||
IconButton(
|
|
||||||
tooltip: 'Facebook',
|
|
||||||
onPressed: () => launch(kFacebookUrl),
|
|
||||||
icon: Icon(MdiIcons.facebook),
|
|
||||||
),
|
|
||||||
IconButton(
|
IconButton(
|
||||||
tooltip: 'Twitter',
|
tooltip: 'Twitter',
|
||||||
onPressed: () => launch(kTwitterUrl),
|
onPressed: () => launch(kTwitterUrl),
|
||||||
icon: Icon(MdiIcons.twitter),
|
icon: Icon(MdiIcons.twitter),
|
||||||
),
|
),
|
||||||
|
IconButton(
|
||||||
|
tooltip: 'Facebook',
|
||||||
|
onPressed: () => launch(kFacebookUrl),
|
||||||
|
icon: Icon(MdiIcons.facebook),
|
||||||
|
),
|
||||||
IconButton(
|
IconButton(
|
||||||
tooltip: 'GitHub',
|
tooltip: 'GitHub',
|
||||||
onPressed: () => launch(kGitHubUrl),
|
onPressed: () => launch(kGitHubUrl),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue