This is where you should put image files that need to be statically hosted by your app.
Upon lifting your app, an image called omgCat.jpg could be found at http://localhost:1337/images/omgCat.jpg
An example of this directory can be found in our sample app repo, here.
For a better experience on sailsjs.com, update your browser.
Check out the full Sailsconf 2023 playlist on Youtube
The Sails framework is built by a web & mobile shop in Austin, TX, with the help of our contributors. We created Sails in 2012 to assist us on Node.js projects. Naturally we open-sourced it. We hope it makes your life a little bit easier!
© 2012-2024 The Sails Company.
The Sails framework is free and open-source under the MIT License.
Illustrations by Edamame.