A .gcloudignore => .gcloudignore +19 -0
@@ 0,0 1,19 @@
+# This file specifies files that are *not* uploaded to Google Cloud Platform
+# using gcloud. It follows the same syntax as .gitignore, with the addition of
+# "#!include" directives (which insert the entries of the given .gitignore-style
+# file at that point).
+#
+# For more information, run:
+# $ gcloud topic gcloudignore
+#
+.gcloudignore
+# If you would like to upload your .git directory, .gitignore file or files
+# from your .gitignore file, remove the corresponding line
+# below:
+.git
+.gitignore
+
+# Python pycache:
+__pycache__/
+# Ignored by the build system
+/setup.cfg<
\ No newline at end of file
M app.yaml => app.yaml +6 -1
@@ 1,2 1,7 @@
runtime: python37
-secure: always
+
+handlers:
+ - url: /.*
+ secure: always
+ redirect_http_response_code: 301
+ script: auto
M send.py => send.py +1 -1
@@ 5,7 5,7 @@ Lazy quick test script
"""
resp = requests.post(
- "http://localhost:8080/proxy",
+ "https://nhansproxy.df.r.appspot.com",
json={
"url": "https://httpbin.org/get",
"method": "get",