Solution: Enabling CORS
Review the solution for the Enabling CORS challenge.
Task 1
Export the oakCors dependency from deno.land in deps.ts using the following code:
Task 2
In the src/web/index.ts file,
first change the configuration object in the createServerDependency and add allowedOrigins: string[]. Next, update the ...