git://git.onelab.eu
/
myops.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add scripts to create myops-getqueryview:
[myops.git]
/
web
/
query
/
vendor
/
couchapp
/
lib
/
redirect.js
diff --git a/web/query/vendor/couchapp/lib/redirect.js
b/web/query/vendor/couchapp/lib/redirect.js
new file mode 100644
(file)
index 0000000..
92ce060
--- /dev/null
+++ b/
web/query/vendor/couchapp/lib/redirect.js
@@ -0,0
+1,8
@@
+exports.permanent = function(redirect) {
+ return {
+ code : 301,
+ headers : {
+ "Location" : redirect
+ }
+ };
+};
\ No newline at end of file