Edit Page

config/http.js

This file is for configuring the underlying HTTP server in Sails, as well as any HTTP middleware your app may need.

Usage

See sails.config.http for all available options.

Want to see for yourself?

An example of this file can be found in our sample app repo, here.

Check out the official Sails VS Code extension

Documentation

App Structure


Sails logo

Anatomy of a Sails App

AltStyle によって変換されたページ (->オリジナル) /