Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow Cachet setup not to be at server's root #3645

Merged
merged 1 commit into from
Jun 23, 2019

Commits on Jun 19, 2019

  1. Allow Cachet setup not to be at server's root

    Cachet may be installed at the root of its vhost or in a subdirectory,
    for example in "/" or under "/status".
    
    The URI we found pointing to some assets were usually not prefixed with
    the path, so if Cachet was installed under "/status" the asset
    URI pointed to the server root like "/my-asset.js".
    It is a problem because that means the behaviour is broken in this case.
    The problem was present from the setup, it was not possible to fill the
    setup since the path to the scripts and CSS weres wrong.
    
    The "asset" helper is now used and resolves the URI.
    
    See: cachethq#3618
    nalysius committed Jun 19, 2019
    Configuration menu
    Copy the full SHA
    fbf141c View commit details
    Browse the repository at this point in the history