MCPcopy Create free account
hub / github.com/thinkjs/thinkjs / redirect

Function redirect

test/case/extend/controller.js:46–48  ·  view source on GitHub ↗
(url, alt)

Source from the content-addressed store, hash-verified

44 res: {
45 },
46 redirect(url, alt) {
47 return url;
48 },
49 set(name, value) {
50 if (helper.isObject(name)) {
51 this.header = Object.assign({}, this.header, name);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…