我需要"/api/*“下的restful api使用授权,所有其他路由,如"/”和"/**“url未经授权就去"/resources/static/index.html”。( index.html使用聚合物处理路由)。
/api/*
/
/**
/resources/static/index.html
有可能做到这一点吗?
https://stackoverflow.com/questions/47751270
相似问题