Below, you are provided with an initial code. Implement the following tasks in it.
Task 1
Add the CORS dependency in your application in deps.ts
.
Task 2
Add the origin
string in your application in the createServer
function in src/index.ts
and src/web/index.ts
.
Get hands-on with 1200+ tech skills courses.