Skip to content

Commit cf6c70b

Browse files
authored
Merge branch 'main' into dev
2 parents 11a3d7a + f63948d commit cf6c70b

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

live-view/live-view.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -660,7 +660,7 @@ let liveFile;
660660

661661
// handle live view request
662662
async function handleLiveViewRequest(requestPath) {
663-
663+
664664
// if requesting base path
665665
if (requestPath === livePath) {
666666

worker/client-channel.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ const INTERNAL_PATHS = {
1818

1919
clientId: 'https://codeit.codes/worker/getClientId',
2020
clientId_: 'https://dev.codeit.codes/worker/getClientId',
21+
22+
internal__: 'https://codedragon.netlify.app/',
23+
24+
run__: 'https://codedragon.netlify.app/run',
2125

2226
}
2327

@@ -160,6 +164,8 @@ workerChannel.addEventListener('message', (event) => {
160164
// handle fetch request
161165
function handleFetchRequest(request, event) {
162166

167+
console.log(request);
168+
163169
return new Promise(async (resolve, reject) => {
164170

165171
// get request path type

0 commit comments

Comments
 (0)