export default function(req: Request) {
const url = new URL(req.url);
const newUrl = "https://opensourcepledge.com" + url.pathname + url.search;
return Response.redirect(newUrl, 301);
}
Val Town is a social website to write and deploy JavaScript.
Build APIs and schedule functions from your browser.
Comments
Nobody has commented on this val yet: be the first!
vladh-opensourcepledgeredirect.web.val.run
Updated: September 19, 2024