aboutsummaryrefslogtreecommitdiff
path: root/app.yaml
diff options
context:
space:
mode:
authorShulhan <m.shulhan@gmail.com>2026-02-10 12:39:30 +0700
committerShulhan <m.shulhan@gmail.com>2026-02-10 12:39:30 +0700
commit608bb927d407fa2ef295d369cb11c40e8710c373 (patch)
tree74ae2b443e758e31884e8a4d5f783485e80a3ed2 /app.yaml
parent3ee118461774c1356915b443f02ca03c8c3e5616 (diff)
downloadgolang-id-tour-608bb927d407fa2ef295d369cb11c40e8710c373.tar.xz
all: set minimum Go runtime ke versi 1.25.0
Diffstat (limited to 'app.yaml')
-rw-r--r--app.yaml37
1 files changed, 18 insertions, 19 deletions
diff --git a/app.yaml b/app.yaml
index 8d8d146..a84be07 100644
--- a/app.yaml
+++ b/app.yaml
@@ -1,5 +1,5 @@
service: default
-runtime: go121
+runtime: go125
env_variables:
TOUR_ANALYTICS: |
@@ -14,22 +14,21 @@ env_variables:
default_expiration: "7d"
handlers:
+ # Keep these static file handlers in sync with local.go.
+ # They're here for improved latency across global regions.
+ - url: /favicon.ico
+ static_files: static/img/favicon.ico
+ upload: static/img/favicon.ico
+ secure: always
+ - url: /content/img
+ static_dir: content/img
+ secure: always
+ - url: /static
+ static_dir: static
+ secure: always
-# Keep these static file handlers in sync with local.go.
-# They're here for improved latency across global regions.
-- url: /favicon.ico
- static_files: static/img/favicon.ico
- upload: static/img/favicon.ico
- secure: always
-- url: /content/img
- static_dir: content/img
- secure: always
-- url: /static
- static_dir: static
- secure: always
-
-# This is here to redirect all HTTP traffic to an HTTPS URL
-# with the same path.
-- url: /.*
- script: auto
- secure: always
+ # This is here to redirect all HTTP traffic to an HTTPS URL
+ # with the same path.
+ - url: /.*
+ script: auto
+ secure: always