editRedirect
Script
v6
Fork
1
2
3
4
5
6
7
import
{
refs
}
from
"https://esm.town/v/stevekrouse/refs"
;
export
function
editRedirect
(
)
{
const
ref
=
refs
(
)
[
0
]
;
const
editURL
=
`https://val.town/v/
${
ref
.
userHandle
}
/
${
ref
.
valName
}
`
;
return
Response
.
redirect
(
editURL
)
;
}