My simple GAE app is not redirecting to the /static directory for requests when url is multiple levels.
Dir structure:
/app/static/css/main.css
App:
I have two handlers one for /app and one for /app/new
app.yaml:
handlers:
- url: /static
static_dir: static
- url: /app/static/(.*)
static_dir: static\1
- url: /app/.*
script: app.py
login: required
HTML:
Description: When page is loaded from /app HTTP request for main.css is successful
GET /static/css/main.css
But when page is loaded from /app/new I see the following request:
GET /app/static/css/main.cs
That's when I tried adding the /app/static/(.*) in the app.yaml but it is not having any effect.