Skip to content

[FEATURE]: Support running under subdirectory (change base url) #428

@majkelwaltuh

Description

@majkelwaltuh

Describe the feature you'd like to see

Currently, the environment variable APP_URL does not allow for subdirectories (eg. https://somedomain.com/jotty). Trying to access Jotty through a subdirectory does not work as it redirects back to the page root / (eg. https://somedomain.com/jotty/auth/setup becomes https://somedomain.com/auth/setup). It seems like everything past the tld in the environment variable APP_URL is stripped out.

Wireframes or mockups (optional)

Add an environment variable named BASE_URL or change the way that APP_URL functions in order to allow specifying subdirectories

Checklist

  • I have searched across other issues to make sure this has not been already suggested.
  • I understand this request may be declined if it is not in line with the project's goals.

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions