UNPKG

@winstrike/next-i18next-koa

Version:

The easiest way to translate your NextJs apps. With Koa support only. Forked from 'next-i18next'.

17 lines (14 loc) 448 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _default = function _default(res, redirectLocation) { res.set('Cache-Control', 'private, no-cache, no-store, must-revalidate'); res.set('Expires', '-1'); res.set('Pragma', 'no-cache'); res.redirect(302, redirectLocation); }; exports.default = _default; module.exports = exports.default; module.exports.default = exports.default;