feat: remove authentication (#1)

This commit is contained in:
Sam Denty
2024-09-26 17:45:41 +01:00
committed by GitHub
parent 6fb59d2bc5
commit 2a29fbbe82
21 changed files with 27 additions and 597 deletions

View File

@@ -1,6 +1,5 @@
import { WebContainer } from '@webcontainer/api';
import { WORK_DIR_NAME } from '~/utils/constants';
import { forgetAuth } from '~/lib/auth';
interface WebContainerContext {
loaded: boolean;
@@ -23,7 +22,6 @@ if (!import.meta.env.SSR) {
import.meta.hot?.data.webcontainer ??
Promise.resolve()
.then(() => {
forgetAuth();
return WebContainer.boot({ workdirName: WORK_DIR_NAME });
})
.then((webcontainer) => {