Commit bbaf219 1 parent 5371a4c commit bbaf219 Copy full SHA for bbaf219
File tree 3 files changed +2
-18
lines changed
java/org/mskcc/cbio/oncokb/config
3 files changed +2
-18
lines changed Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ public void configure(HttpSecurity http) throws Exception {
70
70
.accessDeniedHandler (problemSupport )
71
71
.and ()
72
72
.headers ()
73
- .contentSecurityPolicy ("default-src 'self'; frame-src 'self' https://*.google.com https://www.recaptcha.net https://*.oncokb.org https://*.youtube.com https://*.bilibili.com https://*.gitbook.com; script-src 'self' 'unsafe-inline' 'unsafe-eval' https://www.google.com/ https://storage.googleapis.com www.google-analytics.com https://www.googletagmanager.com https://recaptcha.net https://www.gstatic.com; style-src 'self' 'unsafe-inline'; img-src 'self' data: www.google-analytics.com; font-src 'self' data:; connect-src 'self' https://*;" )
73
+ .contentSecurityPolicy ("default-src 'self'; frame-src 'self' https://*.google.com https://www.recaptcha.net https://*.oncokb.org https://*.youtube-nocookie .com https://*.bilibili.com https://*.gitbook.com; script-src 'self' 'unsafe-inline' 'unsafe-eval' https://www.google.com/ https://storage.googleapis.com www.google-analytics.com https://www.googletagmanager.com https://recaptcha.net https://www.gstatic.com; style-src 'self' 'unsafe-inline'; img-src 'self' data: www.google-analytics.com; font-src 'self' data:; connect-src 'self' https://*;" )
74
74
.and ()
75
75
.referrerPolicy (ReferrerPolicyHeaderWriter .ReferrerPolicy .NO_REFERRER_WHEN_DOWNGRADE )
76
76
.and ()
Original file line number Diff line number Diff line change @@ -283,22 +283,6 @@ export const OncoTreeLink: React.FunctionComponent<{}> = props => {
283
283
) ;
284
284
} ;
285
285
286
- export const WebinarLink : React . FunctionComponent < { } > = props => {
287
- return (
288
- < span >
289
- < Linkout
290
- link = { getYouTubeLink ( 'regular' , YOUTUBE_VIDEO_IDS . WEBINAR_INTRO ) }
291
- >
292
- YouTube.com
293
- </ Linkout > { ' ' }
294
- or{ ' ' }
295
- < Linkout link = { 'https://www.bilibili.com/video/BV1pZ4y1s7ou' } >
296
- bilibili.com
297
- </ Linkout >
298
- </ span >
299
- ) ;
300
- } ;
301
-
302
286
export const getActionableGenesPageLink = (
303
287
levels ?: string ,
304
288
sections ?: string
Original file line number Diff line number Diff line change @@ -765,7 +765,7 @@ export function isPositionalAlteration(
765
765
}
766
766
767
767
export function getYouTubeLink ( type : 'embed' | 'regular' , videoId : string ) {
768
- return `https://www.youtube.com/${
768
+ return `https://www.youtube-nocookie .com/${
769
769
type === 'embed' ? 'embed/' : 'watch?v='
770
770
} ${ videoId } `;
771
771
}
You can’t perform that action at this time.
0 commit comments