404 error when deploying Streamlit app with a GAE dispatch


I’m trying to deploy multiple streamlit apps on y Google App Engine

I’ve managed to deploy on app named app-1, it is working fine

Let’s say the url is app-1-dot-project.appspot.com

But when i try to access it using a dispatch.yaml from GAE, i’m getting a 404 error, but i can still see “Streamlit” as page name

The not working url project.appspot.com/app-1/

my app.yaml

runtime: custom
env: flex
service: app-1-service
- url: /app-1/.*
script: auto

and my dispatch

  - url: "*/app-1/*"
    service: app-1-service

Is it a streamlit problem ? what should i do ?