|
| 1 | +runtime: python39 |
| 2 | + |
| 3 | +handlers: |
| 4 | + - url: /(.*\..*) |
| 5 | + static_files: _site/\1 |
| 6 | + upload: _site/(.*) |
| 7 | + secure: always |
| 8 | + http_headers: |
| 9 | + Content-Security-Policy: >- |
| 10 | + default-src 'self'; |
| 11 | + script-src 'self' https://www.googletagmanager.com https://www.google-analytics.com https://www.gstatic.com https://platform.twitter.com https://cdn.syndication.twimg.com https://syndication.twitter.com; |
| 12 | + style-src 'self' 'unsafe-inline'; |
| 13 | + img-src 'self' data: https://www.google-analytics.com https://www.googletagmanager.com https://pbs.twimg.com https://ton.twimg.com https://abs.twimg.com; |
| 14 | + font-src 'self' data:; |
| 15 | + connect-src 'self' https://www.google-analytics.com https://www.googletagmanager.com https://stats.g.doubleclick.net https://region1.google-analytics.com https://platform.twitter.com https://cdn.syndication.twimg.com https://syndication.twitter.com https://api.twitter.com; |
| 16 | + frame-src https://platform.twitter.com https://syndication.twitter.com; |
| 17 | + frame-ancestors 'self'; |
| 18 | + object-src 'none'; |
| 19 | + base-uri 'self'; |
| 20 | + form-action 'self'; |
| 21 | + manifest-src 'self'; |
| 22 | + upgrade-insecure-requests; |
| 23 | + X-Frame-Options: SAMEORIGIN |
| 24 | + X-Content-Type-Options: nosniff |
| 25 | + Referrer-Policy: strict-origin-when-cross-origin |
| 26 | + Permissions-Policy: >- |
| 27 | + accelerometer=(), |
| 28 | + camera=(), |
| 29 | + geolocation=(), |
| 30 | + gyroscope=(), |
| 31 | + microphone=(), |
| 32 | + payment=(), |
| 33 | + usb=() |
| 34 | +
|
| 35 | + - url: /(.*)/ |
| 36 | + static_files: _site/\1/index.html |
| 37 | + upload: _site/(.*)/index.html |
| 38 | + secure: always |
| 39 | + http_headers: |
| 40 | + Content-Security-Policy: >- |
| 41 | + default-src 'self'; |
| 42 | + script-src 'self' https://www.googletagmanager.com https://www.google-analytics.com https://www.gstatic.com https://platform.twitter.com https://cdn.syndication.twimg.com https://syndication.twitter.com; |
| 43 | + style-src 'self' 'unsafe-inline'; |
| 44 | + img-src 'self' data: https://www.google-analytics.com https://www.googletagmanager.com https://pbs.twimg.com https://ton.twimg.com https://abs.twimg.com; |
| 45 | + font-src 'self' data:; |
| 46 | + connect-src 'self' https://www.google-analytics.com https://www.googletagmanager.com https://stats.g.doubleclick.net https://region1.google-analytics.com https://platform.twitter.com https://cdn.syndication.twimg.com https://syndication.twitter.com https://api.twitter.com; |
| 47 | + frame-src https://platform.twitter.com https://syndication.twitter.com; |
| 48 | + frame-ancestors 'self'; |
| 49 | + object-src 'none'; |
| 50 | + base-uri 'self'; |
| 51 | + form-action 'self'; |
| 52 | + manifest-src 'self'; |
| 53 | + upgrade-insecure-requests; |
| 54 | + X-Frame-Options: SAMEORIGIN |
| 55 | + X-Content-Type-Options: nosniff |
| 56 | + Referrer-Policy: strict-origin-when-cross-origin |
| 57 | + Permissions-Policy: >- |
| 58 | + accelerometer=(), |
| 59 | + camera=(), |
| 60 | + geolocation=(), |
| 61 | + gyroscope=(), |
| 62 | + microphone=(), |
| 63 | + payment=(), |
| 64 | + usb=() |
| 65 | +
|
| 66 | + - url: / |
| 67 | + static_files: _site/index.html |
| 68 | + upload: _site/index.html |
| 69 | + secure: always |
| 70 | + http_headers: |
| 71 | + Content-Security-Policy: >- |
| 72 | + default-src 'self'; |
| 73 | + script-src 'self' https://www.googletagmanager.com https://www.google-analytics.com https://www.gstatic.com https://platform.twitter.com https://cdn.syndication.twimg.com https://syndication.twitter.com; |
| 74 | + style-src 'self' 'unsafe-inline'; |
| 75 | + img-src 'self' data: https://www.google-analytics.com https://www.googletagmanager.com https://pbs.twimg.com https://ton.twimg.com https://abs.twimg.com; |
| 76 | + font-src 'self' data:; |
| 77 | + connect-src 'self' https://www.google-analytics.com https://www.googletagmanager.com https://stats.g.doubleclick.net https://region1.google-analytics.com https://platform.twitter.com https://cdn.syndication.twimg.com https://syndication.twitter.com https://api.twitter.com; |
| 78 | + frame-src https://platform.twitter.com https://syndication.twitter.com; |
| 79 | + frame-ancestors 'self'; |
| 80 | + object-src 'none'; |
| 81 | + base-uri 'self'; |
| 82 | + form-action 'self'; |
| 83 | + manifest-src 'self'; |
| 84 | + upgrade-insecure-requests; |
| 85 | + X-Frame-Options: SAMEORIGIN |
| 86 | + X-Content-Type-Options: nosniff |
| 87 | + Referrer-Policy: strict-origin-when-cross-origin |
| 88 | + Permissions-Policy: >- |
| 89 | + accelerometer=(), |
| 90 | + camera=(), |
| 91 | + geolocation=(), |
| 92 | + gyroscope=(), |
| 93 | + microphone=(), |
| 94 | + payment=(), |
| 95 | + usb=() |
0 commit comments