Skip to content

Add support for hosting on subdir #1297

@sintech

Description

@sintech

Currently the only supported way to host inventree project is domain root. http://inventree.com/
It would be more flexible if one could host it on subdir too, e.g. http://example.com/inventree

I thought that changing STATIC_URL and MEDIA_URL will be enough, but it seems that / prefix is used in a lot of scripts and templates including redirect to /index in urls.py

Metadata

Metadata

Assignees

No one assigned

    Labels

    User InterfaceRelated to the frontend / User InterfaceenhancementThis is an suggested enhancement or new featureroadmapThis is a roadmap feature with no immediate plans for implementation

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions