org.springframework.data.redis.RedisSystemException: Error in execution; nested exception is io.lettuce.core.RedisCommandExecutionException: ERR unknown command ' EVALSHA '
发布于 2018-02-07 08:09:07
如果还想匹配根目录(前导斜杠和空路径),则可以添加另一个为路径参数设置默认值的规则。
@app.route('/', defaults={'path': ''}) @app.route('/<path:path>') def get_dir(path): return path
相似问题