UNPKG

carthage

Version:

An API Server and Framework with scaffold functions for node.js

19 lines (10 loc) 285 B
'use strict'; const Carthage = require('carthage'); class AuthController extends Carthage.Controller { authorize(callback) { this.setHeader('Cache-Control', 'no-store'); this.setHeader('Pragma', 'no-cache'); callback(null); } } module.exports = AuthController;