worked on transcripts
diff --git "a/pages/nucleus/transcript/\133code\135/raw.js" "b/pages/nucleus/transcript/\133code\135/raw.js"
index 8c5436e..da6ac40 100644
--- "a/pages/nucleus/transcript/\133code\135/raw.js"
+++ "b/pages/nucleus/transcript/\133code\135/raw.js"
@@ -14,7 +14,7 @@
}
let code;
try {
- code = (await Axios.get(`http://localhost:10000/transcript/${ctx.params.code}`))
+ code = (await Axios.get(`http://${process.env.NUCLEUS_CALLBACK}/transcript/${ctx.params.code}`))
} catch (e) {
return {
redirect: {
@@ -25,7 +25,7 @@
}
return {
redirect: {
- destination: `http://localhost:10000/transcript/${ctx.params.code}`,
+ destination: `http://${process.env.NUCLEUS_CALLBACK}/transcript/${ctx.params.code}`,
permanent: true
}
}