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

Commit 6207dc1

Browse files
authored
Added png to static for WithSupportFromGoogleCloud.png
1 parent 5200cd5 commit 6207dc1

File tree

1 file changed

+26
-1
lines changed

1 file changed

+26
-1
lines changed

terraform/core/main.tf

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,32 @@ 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 = "/(.*\\.ico)"
208+
static_files {
209+
path = "static/\\1"
210+
mime_type = "image/x-icon"
211+
upload_path_regex = "static/(.*\\.ico)"
212+
expiration = "0s"
213+
}
214+
}
215+
216+
handlers {
217+
auth_fail_action = "AUTH_FAIL_ACTION_REDIRECT"
218+
login = "LOGIN_OPTIONAL"
219+
security_level = "SECURE_OPTIONAL"
220+
url_regex = "/(.*\\.png)"
221+
static_files {
222+
path = "static/\\1"
223+
mime_type = "image/png"
224+
upload_path_regex = "static/(.*\\.png)"
225+
expiration = "0s"
226+
}
227+
}
228+
203229
handlers {
204230
auth_fail_action = "AUTH_FAIL_ACTION_REDIRECT"
205231
login = "LOGIN_OPTIONAL"
@@ -283,4 +309,3 @@ resource "google_project_iam_binding" "tpu_role" {
283309
"serviceAccount:${data.ml_config.cfg.service_account}"
284310
]
285311
}
286-

0 commit comments

Comments
 (0)