blob: b2aac6e57dae3a39cddae3ba1758a8e27e4eb99b [file] [log] [blame]
service: blog
runtime: go114
env_variables:
BLOG_ANALYTICS: |
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-11222381-3"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag("js", new Date());
gtag("config", "UA-11222381-3");
gtag("config", "UA-49880327-6");
</script>
default_expiration: "7d"
handlers:
# Keep these static file handlers in sync with blog.go.
# They're here for improved latency across global regions.
- url: /favicon.ico
static_files: static/favicon.ico
upload: static/favicon.ico
secure: always
- url: /fonts.css
static_files: static/fonts.css
upload: static/fonts.css
secure: always
- url: /fonts
static_dir: static/fonts
http_headers:
Content-Type: application/font-woff
secure: always
# This is here to redirect all HTTP traffic to an HTTPS URL
# with the same path.
- url: /.*
script: auto
secure: always