1.0.3 • Published 9 years ago
@hope/cors v1.0.3
CORS middleware for Express
Add CORS headers to server response, that allows cross-site connections
Usage
// Import
import CORS from '@hope/cors';
// Apply
app.all('*', CORS());
Add CORS headers to server response, that allows cross-site connections
// Import
import CORS from '@hope/cors';
// Apply
app.all('*', CORS());