-
Notifications
You must be signed in to change notification settings - Fork 41
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
fix(training): missing dependencies #2785
Conversation
View your CI Pipeline Execution ↗ for commit aa480af.
☁️ Nx Cloud last updated this comment at |
70b163b
to
83a1654
Compare
83a1654
to
aa480af
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
✅ All tests successful. No failed tests found. Additional details and impacted files☔ View full report in Codecov by Sentry. |
@@ -197,7 +198,8 @@ export function registerCustomComponents(): Map<string, any> { | |||
markedExtensions: [markedAlert()], | |||
/* Templates are only internal, no need to sanitize */ | |||
sanitize: SecurityContext.NONE | |||
}) | |||
}), | |||
{ provide: NGX_MONACO_EDITOR_CONFIG, useValue: { baseUrl: `${location.origin}${location.pathname}assets/monaco/min/vs` } } |
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.
{ provide: NGX_MONACO_EDITOR_CONFIG, useValue: { baseUrl: `${location.origin}${location.pathname}assets/monaco/min/vs` } } | |
{ provide: NGX_MONACO_EDITOR_CONFIG, useValue: { baseUrl: `${location.href}/assets/monaco/min/vs` } } |
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.
actually, I don't want the full location.href
here
location.href = 'https://amadeusitgroup.github.io/otter/#/sdk-training#0'
location.origin = 'https://amadeusitgroup.github.io'
location.pathname = '/otter/'
what I want is https://amadeusitgroup.github.io/otter/assets/monaco/min/vs
Proposed change
Related issues
- No issue associated -