diff --git a/docs/examples/webrtc-chat.md b/docs/examples/webrtc-chat.md new file mode 100644 index 0000000..a54c59b --- /dev/null +++ b/docs/examples/webrtc-chat.md @@ -0,0 +1,5 @@ +# Writing a WebRTC chat + +This guide will show you how to write a WebRTC chat using [WebRTC for the Curious](https://webrtcforthecurious.com/). + +## Introduction diff --git a/docs/index.md b/docs/index.md index e561709..f5f99a7 100644 --- a/docs/index.md +++ b/docs/index.md @@ -10,9 +10,9 @@ OpenWorkers is a serverless runtime environment that allows you to run your code ## Getting started -To get started, you need to create an account. You can do this by clicking the "Login" button in the top right corner of the page. +To get started, you need to create an account. You can do this by clicking the "Sign in" button in the top right corner of the page. -You will then be redirected to the login page. Login with your GitHub account. +You will then be redirected to the sign in page. Sign in with your GitHub account. After logging in, you will be redirected to the dashboard. Here you can see all your workers and create new ones. diff --git a/src/app/app.server.module.ts b/src/app/app.server.module.ts index 1e39017..8af00fb 100644 --- a/src/app/app.server.module.ts +++ b/src/app/app.server.module.ts @@ -15,9 +15,6 @@ import { resolve } from 'path'; useValue: { resolveMarkdown(url: string) { const path = resolve(url.replace('/static/', '')); - - console.log('Resolving markdown', path); - return from( new Promise((resolve) => { readFile(path, { encoding: 'utf8' }, (err, data) => resolve(err ? err.code ?? '' : data)); diff --git a/src/app/main.component.html b/src/app/main.component.html index e973f4d..df0ed64 100644 --- a/src/app/main.component.html +++ b/src/app/main.component.html @@ -1,4 +1,4 @@ -