Skip to content

Instantly share code, notes, and snippets.

View Manu0809fm's full-sized avatar
🏠
Working from home

Manu0809fm

🏠
Working from home
View GitHub Profile
runtime: php81
handlers:
- url: /
script: api/index.php
# Serve images as static resources.
- url: /(.+\.(gif|png|jpg))$
static_files: \1
upload: .+\.(gif|png|jpg)$
# Serve php scripts.
- url: /(.+\.php)$
runtime: php81
handlers:
- url: /
script: index.php
# Serve images as static resources.
- url: /(.+\.(gif|png|jpg))$
static_files: \1
upload: .+\.(gif|png|jpg)$
# Serve php scripts.
- url: /(.+\.php)$
runtime: php81
handlers:
- url: /
script: index.php
# Serve images as static resources.
- url: /(.+\.(gif|png|jpg))$
static_files: \1
upload: .+\.(gif|png|jpg)$
application_readable: true
# Serve php scripts.
runtime: php83
handlers:
- url: /imagenes
static_dir: public/imagenes
- url: /(.*\.(?:css|js|ico|svg|woff|woff2|ttf|map))
static_files: public/\1
upload: public/.*\.(?:css|js|ico|svg|woff|woff2|ttf|map)
runtime: php83
handlers:
# Sirve /imagenes desde /public/imagenes
- url: /imagenes
static_dir: public/imagenes
# Otros estáticos comunes desde /public
- url: /(.*\.(?:css|js|ico|svg|woff|woff2|ttf|map))
static_files: public/\1
runtime: php83
handlers:
- url: /
script: api/index.php
# Serve images as static resources.
- url: /(.+\.(gif|png|jpg))$
static_files: \1
upload: .+\.(gif|png|jpg)$
# Serve php scripts.
- url: /(.+\.php)$
runtime: php83
handlers:
- url: /
script: index.php
# Serve images as static resources.
- url: /(.+\.(gif|png|jpg))$
static_files: \1
upload: .+\.(gif|png|jpg)$
# Serve php scripts.
- url: /(.+\.php)$
runtime: php83
api_version: 1
handlers:
- url: /
script: index.php
# Serve images as static resources.
- url: /(.+\.(gif|png|jpg))$
static_files: \1
upload: .+\.(gif|png|jpg)$
# Serve php scripts.
runtime: php81
handlers:
# Imágenes (sirve todo /public/imagenes como /imagenes)
- url: /imagenes
static_dir: public/imagenes
# Otros estáticos comunes desde /public
- url: /(.*\.(?:css|js|ico|svg|woff|woff2|ttf))
static_files: public/\1
upload: public/.*\.(?:css|js|ico|svg|woff|woff2|ttf)
runtime: php81
handlers:
- url: /
script: api/index.php
# Serve images as static resources.
- url: /(.+\.(gif|png|jpg))$
static_files: \1
upload: .+\.(gif|png|jpg)$
# Serve php scripts.
- url: /(.+\.php)$