Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Nancy モジュールのすべてのルートを一致させようとしています。Sinatra はスプラット パラメータを使用します。
get '/download/*.*' do # matches /download/path/to/file.xml params[:splat] # => ["path/to/file", "xml"] end
これはナンシーに存在しますか?
これはドキュメントでカバーされています - 貪欲なノードを見てください:
https://github.com/NancyFx/Nancy/wiki/Defining-routes