Skip to content
This repository was archived by the owner on Jun 4, 2025. It is now read-only.

Commit 7ef33ec

Browse files
committed
remove google adverts
1 parent 48c0610 commit 7ef33ec

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/main/java/com/asanka/tutor/config/SecurityConfiguration.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public void configure(HttpSecurity http) throws Exception {
6363
.accessDeniedHandler(problemSupport)
6464
.and()
6565
.headers()
66-
.contentSecurityPolicy("default-src 'self' https://usebasin.com/ https://www.google-analytics.com/ https://pagead2.googlesyndication.com/ https://adservice.google.ca https://adservice.google.com https://www.googletagservices.com https://tpc.googlesyndication.com; frame-src 'self' https://www.youtube.com/ https://js.stripe.com/ https://repl.it/@SudharakaP/; img-src 'self' https://avatars.dicebear.com https://www.google-analytics.com/; script-src 'self' 'unsafe-inline' 'unsafe-eval' https://js.stripe.com/v3/ https://www.google-analytics.com/ https://drive.google.com/ https://pagead2.googlesyndication.com/ https://adservice.google.ca https://adservice.google.com https://www.googletagservices.com https://tpc.googlesyndication.com; style-src 'self' 'unsafe-inline'")
66+
.contentSecurityPolicy("default-src 'self' https://usebasin.com/ https://www.google-analytics.com/; frame-src 'self' https://www.youtube.com/ https://js.stripe.com/ https://repl.it/@SudharakaP/; img-src 'self' https://avatars.dicebear.com https://www.google-analytics.com/; script-src 'self' 'unsafe-inline' 'unsafe-eval' https://js.stripe.com/v3/ https://www.google-analytics.com/ https://drive.google.com/; style-src 'self' 'unsafe-inline'")
6767
.and()
6868
.referrerPolicy(ReferrerPolicyHeaderWriter.ReferrerPolicy.STRICT_ORIGIN_WHEN_CROSS_ORIGIN)
6969
.and()

src/main/webapp/index.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
<link rel="shortcut icon" href="favicon.ico" />
1212
<link rel="manifest" href="manifest.webapp" />
1313
<link rel="stylesheet" href="content/css/loading.css">
14-
<script data-ad-client="ca-pub-8063185008208498" async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
1514
<!-- jhipster-needle-add-resources-to-root - JHipster will add new resources here -->
1615
</head>
1716
<body>

0 commit comments

Comments
 (0)