How to handle trailing slashing in Google App Engine app.yaml

后端 未结 1 1296
刺人心
刺人心 2021-01-14 04:10

I ran into this problem trying to answer this SO question here: Removing PHP file extension when serving PHP files about how to route certain requests in app.yaml for Googl

相关标签:
1条回答
  • 2021-01-14 05:09

    Use non-greedy regex.

    /(.*?)/?$
    

    DEMO

    0 讨论(0)
提交回复
热议问题