-
Notifications
You must be signed in to change notification settings - Fork 913
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
[Branding] assets folder and SSL support #1329
[Branding] assets folder and SSL support #1329
Conversation
Adding `assets` folder that gets served up under UI for ease of us. SSL support when OpenSearch Dashboards SSL is enabled. Issue Resolved: opensearch-project#1164 Signed-off-by: Kawika Avilla <[email protected]>
I had to create a new issue for more tests since it's more involved: #1330. One thing to guarantee is that this will have no impact and will go unnoticed on default behavior (SSL not enabled) so this is a relatively safe change. |
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.
LGTM!
@@ -89,6 +89,7 @@ export class CoreApp { | |||
} | |||
private registerStaticDirs(coreSetup: InternalCoreSetup) { | |||
coreSetup.http.registerStaticDir('/ui/{path*}', Path.resolve(__dirname, './assets')); | |||
coreSetup.http.registerStaticDir('/ui/assets/{path*}', fromRoot('assets')); | |||
|
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.
Should we remove this blank line or add another blank one after line 91
Adding `assets` folder that gets served up under UI for ease of us. SSL support when OpenSearch Dashboards SSL is enabled. Issue Resolved: #1164 Signed-off-by: Kawika Avilla <[email protected]> (cherry picked from commit 289ad24)
Adding `assets` folder that gets served up under UI for ease of us. SSL support when OpenSearch Dashboards SSL is enabled. Issue Resolved: #1164 Signed-off-by: Kawika Avilla <[email protected]> (cherry picked from commit 289ad24) Co-authored-by: Kawika Avilla <[email protected]>
Description
Adding
assets
folder that gets served up under UI for ease of us.SSL support when OpenSearch Dashboards SSL is enabled.
Signed-off-by: Kawika Avilla [email protected]
Issues Resolved
#1164
Check List
yarn test:jest
yarn test:jest_integration
yarn test:ftr