aboutsummaryrefslogtreecommitdiff
path: root/app.yaml
blob: 9e17b1512909142ae8b392f829984a0a7a6b9067 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
service: blog
runtime: go112

env_variables:
  GOLANGORG_CHECK_COUNTRY: true
  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"

# Keep these static file handlers in sync with blog.go.
# They're here for improved latency across global regions.
handlers:
- 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