Skip to content

Commit

Permalink
add another log
Browse files Browse the repository at this point in the history
  • Loading branch information
hemedani committed Oct 15, 2023
1 parent a2b0c5f commit 2504344
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/server/playground/mod.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@ export const getClientReact = async () => {
export const getJSFile = async () => {
const getBundle = async () => {
const url = new URL("./dist/bundle.js", import.meta.url);
console.log("inside get js files before read", { url });
const data = await Deno.readTextFile(url);
console.log("inside get js files", { url, data });
console.log("inside get js files after read", { url, data });
return new Response(data, {
headers: { "content-type": "application/javascript" },
});
Expand Down

0 comments on commit 2504344

Please sign in to comment.