-
Notifications
You must be signed in to change notification settings - Fork 273
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 a custom pathname #5085
base: develop
Are you sure you want to change the base?
Allow a custom pathname #5085
Conversation
Add pathname variable to allow a custom pathname instead of http[s]://FQDN/centreon -> http[s]://FQDN/custom
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please substitute line 118 with default => '/centreon'
Remove /
everywhere is not needed (l 207, 213, 333,359, 481,594, 613, 620)
Rename option centreon-pathname
with url-path
for consistence with other RestAPI call in other plugins
Adjust help acconrdingly
@omercier did we bypass the spell check exception for this plugin ? |
Hello :) You can add the label do-not-spellcheck. And then push an empty commit, this should disable the spellcheck test ;) |
- have a default value of "/centreon" - create a check to add "/" if missing from url-path
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
Add pathname variable to allow a custom pathname instead of http[s]://FQDN/centreon -> http[s]://FQDN/custom
Community contributors
Description
Add pathname variable to allow a custom pathname instead of:
http[s]://FQDN/centreon -> http[s]://FQDN/custom
Type of change
How this pull request can be tested ?
centreon_pathname
centreon_pathname
centreon
Checklist