-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathapp.yaml
More file actions
33 lines (29 loc) · 682 Bytes
/
app.yaml
File metadata and controls
33 lines (29 loc) · 682 Bytes
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: default
runtime: nodejs18
handlers:
# Static files.
- url: /static
static_dir: static
secure: always
redirect_http_response_code: 301
# Index.
- url: /
static_files: index.html
upload: index\.html
secure: always
redirect_http_response_code: 301
# Favicon.
- url: /favicon\.ico
static_files: favicon.ico
upload: favicon\.ico
secure: always
redirect_http_response_code: 301
# go get redirect
# (See: https://jve.linuxwall.info/blog/index.php?post/2015/08/26/Hosting_Go_code_on_Github_with_custom_import_path)
- url: /cc.*
http_headers:
content-type: text/html
static_files: cc
upload: cc
secure: always
redirect_http_response_code: 301