Skip to content

Custom redirect for LANDING_PAGE is ignored #19942

Closed
@uriesk

Description

@uriesk

Description

If i set an URL as LANDING_PAGE (according to PR #19324) — doesn't matter if relative /org/something or absolute https://something.com — it ignores the option and still shows the the default landing page.
Setting LANDING_PAGE to explore or organization does work.

Gitea Version

1.16.8

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

No response

How are you running Gitea?

Binary from
https://dl.gitea.io/gitea/1.16.8/gitea-1.16.8-linux-amd64
on Ubuntu 20.04.4 LTS
run by systemd service according to docs.gitea.io

Database

MySQL

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue/not-a-bugThe reported issue is the intended behavior or the problem is not inside Gitea

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions