Skip to content

Commit e28549b

Browse files
authored
Merge branch 'main' into main
2 parents c0aeac1 + 4430435 commit e28549b

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
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: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44

55

66
// update worker name when updating worker
7-
const WORKER_NAME = 'codeit-worker-v499';
7+
8+
const WORKER_NAME = 'codeit-worker-v495';
89

910

1011
// internal paths
@@ -18,6 +19,10 @@ const INTERNAL_PATHS = {
1819

1920
clientId: 'https://codeit.codes/worker/getClientId',
2021
clientId_: 'https://dev.codeit.codes/worker/getClientId',
22+
23+
internal__: 'https://codedragon.netlify.app/',
24+
25+
run__: 'https://codedragon.netlify.app/run',
2126

2227
}
2328

@@ -160,6 +165,8 @@ workerChannel.addEventListener('message', (event) => {
160165
// handle fetch request
161166
function handleFetchRequest(request, event) {
162167

168+
console.log(request);
169+
163170
return new Promise(async (resolve, reject) => {
164171

165172
// get request path type

0 commit comments

Comments
 (0)