You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/12/30 02:03:01 UTC

[jira] [Commented] (NIFIREG-89) Add a default URL handler for root '/' instead of returning a 404

    [ https://issues.apache.org/jira/browse/NIFIREG-89?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16306640#comment-16306640 ] 

ASF GitHub Bot commented on NIFIREG-89:
---------------------------------------

GitHub user dannylane opened a pull request:

    https://github.com/apache/nifi-registry/pull/74

    NIFIREG-89 Add landing page for root URL '/'

    Following on from a suggestion in the dev mailing list I created [NIFIREG-89](https://issues.apache.org/jira/browse/NIFIREG-89) to add a landing page informing the user they may have mistyped, similar to the page that currently exists in NiFi.
    I followed a similar approach as was used in NiFi.
    
    This is the page that has been added:
    ![screenshot_landing_page](https://user-images.githubusercontent.com/250202/34450579-d86c85a0-ed04-11e7-8ae5-2bfb7878df91.png)


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/dannylane/nifi-registry NIFIREG-89

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/nifi-registry/pull/74.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #74
    
----
commit 09d6ec4ba0e7f36e07f07deac76d4304339d32b6
Author: Danny Lane <da...@...>
Date:   2017-12-30T01:43:09Z

    NIFIREG-89 Add landing page for default url

----


> Add a default URL handler for root '/' instead of returning a 404
> -----------------------------------------------------------------
>
>                 Key: NIFIREG-89
>                 URL: https://issues.apache.org/jira/browse/NIFIREG-89
>             Project: NiFi Registry
>          Issue Type: Improvement
>            Reporter: Danny Lane
>            Assignee: Danny Lane
>            Priority: Minor
>              Labels: usability
>
> Currently when you land on the root or a NiFi Registry deployment you get a 404 response from Jetty.
> It was suggested in the mailing list to add a page similar to the NiFi 'You may have mistyped...' page.
> This is item to track that suggestion and associated work.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)