We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7be13de commit 4db4f73Copy full SHA for 4db4f73
appengine/flexible/disk/app.yaml
@@ -1,5 +1,5 @@
1
runtime: python
2
-vm: true
+env: flex
3
entrypoint: gunicorn -b :$PORT main:app
4
5
runtime_config:
appengine/flexible/disk/main.py
@@ -34,7 +34,7 @@ def is_ipv6(addr):
34
# [START example]
35
@app.route('/')
36
def index():
37
- instance_id = os.environ.get('GAE_MODULE_INSTANCE', '1')
+ instance_id = os.environ.get('GAE_INSTANCE', '1')
38
39
user_ip = request.remote_addr
40
0 commit comments