Skip to content
This repository was archived by the owner on Sep 23, 2024. It is now read-only.

Commit 4767cd4

Browse files
authored
Merge pull request #266 from FIRST-Tech-Challenge/lizlooney-patch-1
Added png to static for WithSupportFromGoogleCloud.png
2 parents eb09ba7 + a1d64ac commit 4767cd4

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

terraform/core/main.tf

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,19 @@ resource "google_app_engine_standard_app_version" "fmltc-app-v1" {
200200
}
201201
}
202202

203+
handlers {
204+
auth_fail_action = "AUTH_FAIL_ACTION_REDIRECT"
205+
login = "LOGIN_OPTIONAL"
206+
security_level = "SECURE_OPTIONAL"
207+
url_regex = "/(.*\\.png)"
208+
static_files {
209+
path = "static/\\1"
210+
mime_type = "image/png"
211+
upload_path_regex = "static/(.*\\.png)"
212+
expiration = "0s"
213+
}
214+
}
215+
203216
handlers {
204217
auth_fail_action = "AUTH_FAIL_ACTION_REDIRECT"
205218
login = "LOGIN_OPTIONAL"
@@ -283,4 +296,3 @@ resource "google_project_iam_binding" "tpu_role" {
283296
"serviceAccount:${data.ml_config.cfg.service_account}"
284297
]
285298
}
286-

0 commit comments

Comments
 (0)