From 2095cbce9d4037323faf09420227ffc994ab1af4 Mon Sep 17 00:00:00 2001 From: Thomas Date: Sat, 10 Aug 2019 15:38:12 +0200 Subject: [PATCH] Add support page --- src/Controller/FediPlanController.php | 2 +- templates/nav.html.twig | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/Controller/FediPlanController.php b/src/Controller/FediPlanController.php index 9babd00..40d02dc 100644 --- a/src/Controller/FediPlanController.php +++ b/src/Controller/FediPlanController.php @@ -56,7 +56,7 @@ class FediPlanController extends AbstractController }else{ $mastodon_api->set_url("https://" . $host); $mastodon_api->set_scopes([]); - $createApp = $mastodon_api->create_app("FediPlan", [], '', "https://fediplan.fedilab.app"); + $createApp = $mastodon_api->create_app("FediPlan", [], '', "https://plan.fedilab.app"); if( isset($createApp['error']) ){ $form->get('host')->addError(new FormError($translator->trans('error.instance.mastodon_client_id',[],'fediplan','en'))); }else{ diff --git a/templates/nav.html.twig b/templates/nav.html.twig index 1a99ccf..aa5e045 100644 --- a/templates/nav.html.twig +++ b/templates/nav.html.twig @@ -24,6 +24,10 @@ + + {% endif %}