diff --git a/app/srv/ws/sync/code/code.ts b/app/srv/ws/sync/code/code.ts index 87e86a32..f65b026b 100644 --- a/app/srv/ws/sync/code/code.ts +++ b/app/srv/ws/sync/code/code.ts @@ -19,8 +19,8 @@ export const code = { await initFrontEnd(root, id_site); await initServer(root, id_site); await initTypings(root, id_site); - if (exists(dir.data(`${root}/typings`))) { - await $`chmod -R 777 ${dir.data(`${root}/typings`)}`; + if (exists(dir.data(`${root}`))) { + await $`chmod -R 777 ${dir.data(`${root}`)}`; } }, path(