We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
静态文件使用没问题,但是用模版引擎渲染一些html而不是json接口时,依然会走restc的服务,这个时候怎么强制输出html?
The text was updated successfully, but these errors were encountered:
如果 API 有固定前缀,可以针对某个前缀 use restc。
use
规则复杂的情况下可以用 includes / excludes / shouldHandle,请参考 #26 。
includes
excludes
shouldHandle
Sorry, something went wrong.
No branches or pull requests
静态文件使用没问题,但是用模版引擎渲染一些html而不是json接口时,依然会走restc的服务,这个时候怎么强制输出html?
The text was updated successfully, but these errors were encountered: