Quiz on HTTPs, Extracting Configuration, and Deno in the Browser

Quiz yourself on extracting configuration and Deno in the browser.

1

What is the correct way to register oakCors on an application with origin https://test?

A)
app.use(oakCors({ origin: [‘https:’, ‘test’] }));
B)
app.use(oakCors({ origin: [‘https://test’] })); 
C)
app.use(oakCors({ origin: ‘test’ }));
D)
app.use(oakCors({ origin: [test] }));
Question 1 of 50 attempted

Get hands-on with 1400+ tech skills courses.