php - App.yaml error expected <block end>, but found '-' -
i have follow app.yaml:
application: myapp version: 3 runtime: php55 api_version: 1 threadsafe: yes handlers: - url: /favicon\.ico static_files: favicon.ico upload: favicon\.ico - url: / script: main.php - url: /src static_dir: src - url: /vendor static_dir: vendor
but, when deploy it, console shows error:
appcfg.py: error: error parsing c:\app.yaml: w hile parsing block mapping in "c:\app.yaml", line 15, column 3 expected <block end>, found '-' in "c:\app.yaml", line 18, column 3.
the code google reference in https://cloud.google.com/appengine/docs/standard/php/config/appref
what wrong it? thanks
copy code, there many spaces in part. works.
application: myapp version: 3 runtime: php55 api_version: 1 threadsafe: yes handlers: - url: /favicon\.ico static_files: favicon.ico upload: favicon\.ico - url: / script: main.php - url: /src static_dir: src - url: /vendor static_dir: vendor
Comments
Post a Comment