Val Town is a social website to write and deploy JavaScript.
Build APIs and schedule functions from your browser.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
export let scalingDevtoolsValTown = (format) => {
if (!format) {
return Response.json({
message: "Please provide a format as an argument, e.g. 'video'",
});
}
if (format === "video") {
return Response.redirect(
"https://youtu.be/tUXXANGzE1I?si=DNAWyBwACWEnc9Al",
);
}
else {
return Response.redirect(
"https://podcast.scalingdevtools.com/episodes/steve-krouse",
);
}
};
October 23, 2023