forked from cachethq/cachet
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
Showing
7 changed files
with
56 additions
and
52 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"dist/css/all.css": "dist/css/all-2812406e36.css", | ||
"dist/js/all.js": "dist/js/all-b2c62d4294.js" | ||
} | ||
"dist/js/all.js": "dist/js/all-83303e6904.js" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters